Post your source code. I think it is that you are not using the STD namespace.

You should do this in your file:

#include <iostream>

using namespace std;

int main (void)
{
cout << "Hello World!" << endl;

return 0;
}

See if that works. If that doesn't work, post your source.