User forums > Help

Process terminated with status 2 (0 min, 0 sec) 0 errors, 0 warning but.[Solved]

(1/1)

Caaronevans:
-------------- 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.

stahta01:
Please learn to read the posts you find while searching

http://forums.codeblocks.org/index.php/topic,8682.0.html

Tim S.

Caaronevans:
Sorry I understand now and have corrected my error thank for smacking me back to it I tend to over look small details that I need.

Navigation

[0] Message Index

Go to full version