UnnamedOne
03-17-2008, 07:44 PM
I saved this as main.cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}I try to compile using this:
g++ main.cppand it says:
main.cpp:9:2 warning: no newline at end of fileWhats wrong?
Edit: Nvm found it. :) Time to code some sh*t for BT now :) Any suggestions on what to code are welcome ;)
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}I try to compile using this:
g++ main.cppand it says:
main.cpp:9:2 warning: no newline at end of fileWhats wrong?
Edit: Nvm found it. :) Time to code some sh*t for BT now :) Any suggestions on what to code are welcome ;)