-------------- Build: Debug in HelloWorld ---------------
Compiling: main.cpp
S: 1: Syntax error: Unterminated quoted string
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
Here is the code which I have done several time on windows as I started to try out programming and it worked fine until I tried it last night on windows and i forget why it wouldn't so I went back to Ubuntu and now I'm getting the above error. Sorry if its some simple thing, I'm still new to all this.
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
I was told about the Full Command Line option, and once I enabled that I started getting the error
-------------- Build: Debug in HelloWorld ---------------
g++ -Wall -fexceptions -g -c "/media/AARON'S PRO/HelloWorld/main.cpp" -o obj/Debug/main.o
S: 1: Syntax error: Unterminated quoted string
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
And I have already tried switching #include <iostream> to #include <ostream> as was noted in another post.