我的教科书显示了要运行的这段 C++ 代码,但是当我在 net beans 上运行它时,它会在线程“main”ArrayIndexOutOfBoundsException:0 中显示此错误异常
#include <iostream>
using namespace std;
int main(void)
{
cout << "Hello world";
return 0;
}
我的教科书显示了要运行的这段 C++ 代码,但是当我在 net beans 上运行它时,它会在线程“main”ArrayIndexOutOfBoundsException:0 中显示此错误异常
#include <iostream>
using namespace std;
int main(void)
{
cout << "Hello world";
return 0;
}