User forums > Using Code::Blocks
ScriptConsole line = (1) column = (9) : error end of statement expected (; or lf
(1/1)
dpd2cm:
I'm taking a C++ tutorial and I loaded Codeblocks as part of the class. I am trying to compile a basic program and keep getting this error and can not figure out why.
#include <iostream>
int main()
{
std::cout << "Solidum petit in profundis!\n";
return 0;
}
Erorr: ScriptConsole line = (1) column = (9) : error end of statement expected (; or lf)
Please help!
Alpha:
Are you by any chance trying to type in the Scripting Console? See if the wiki-page Creating a new project helps.
Your code belongs in the main editor:
Navigation
[0] Message Index
Go to full version