News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

ScriptConsole line = (1) column = (9) : error end of statement expected (; or lf

Started by dpd2cm, January 03, 2012, 01:11:03 AM

Previous topic - Next topic

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: