Nightfire
03-29-2003, 09:47 PM
#include <iostream>
int main()
{
std::cout << "Hello world!\n";
return 0;
}
What's the problem with this code? It's driving me insane :( I try to compile it and I get the following error
c:/cpp/hello.cpp:7:2: Warning: no newline at end of file
Line 7 char 2 I guess that is, line 7 is the }
int main()
{
std::cout << "Hello world!\n";
return 0;
}
What's the problem with this code? It's driving me insane :( I try to compile it and I get the following error
c:/cpp/hello.cpp:7:2: Warning: no newline at end of file
Line 7 char 2 I guess that is, line 7 is the }