How to do "hello world" exercise on netbeans in c++

  arrayindexoutofboundsexception, c++

My textbook showed this piece of C++ code to run however when I run it on net beans it displays this error Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0

#include <iostream>
using namespace std;
int main(void)
{ cout << "Hello world"; return 0; }

Source: Windows Questions C++

LEAVE A COMMENT