+ 1

missing terminating " character 'cout' does not name a type| 'int main' redeclared as different kind of symbol|

Huray to all !!!Thank you for your answers. Tried your tips run it but I do not get the result . The below are the errors I get : ||=== Build: Debug in SoloLearn Mirabela Vasile (compiler: GNU GCC Compiler) ===| C:\Users\001\CodeBlocks\SoloLearn Mirabela Vasile\main.cpp|10|warning: missing terminating " character| C:\Users\001\CodeBlocks\SoloLearn Mirabela Vasile\main.cpp|10|error: missing terminating " character| C:\Users\001\CodeBlocks\SoloLearn Mirabela Vasile\main.cpp|10|error: 'cout' does not name a type| C:\Users\001\CodeBlocks\SoloLearn Mirabela Vasile\main.cpp|14|error: 'int main' redeclared as different kind of symbol| C:\Users\001\CodeBlocks\SoloLearn Mirabela Vasile\main.cpp|5|note: previous declaration 'int main()'| ||=== Build failed: 3 error(s), 1 warning(s) (0 minute(s), 1 second(s)) ===| Anything that I can try ? Regards, Mirabela Vasile ------------------------------------------ Hello, SOS for the error error:missing terminating " character in script : #include <iostream> using namespace std; int main() { cout << "This " << "is " << "awesome! "; return 0; } Anyone can advise why I am getting it? Regards

26th Jul 2017, 3:29 PM
Mirabela Vasile
Mirabela Vasile - avatar
3 ответов
+ 2
Is it still doing it? I just had that happen with an apostrophe in a first line c++ //comment, so I put in a \' and it was fine... ...but now it's fine without the \... so maybe they were working on a script/compiler change?
25th Jul 2017, 9:17 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
The code you wrote here seems fine, however the error tells me you're likely forgetting a quote somewhere in the actual code of your program. Make sure where you have a " you have another ". (Two quotes)
25th Jul 2017, 9:07 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
Copy that, just ran the code in the code Playground. Exacuted perfectly.
25th Jul 2017, 9:11 PM
josh mizzi
josh mizzi - avatar