Quote Originally Posted by Zugzwang View Post
Are you sure that you pasted the correct contents of "hello.cpp"? Your compilation error message says that "cout" was not declared in line 6, but line 6 is actually "return 0;". Is it possible that in fact your IDE tries to compile your old code?
Hmmmm not sure, I'll try again deleting everything and creating a new project and let you know.