Author Topic: ScriptConsole line = (1) column = (9) : error end of statement expected (; or lf  (Read 5697 times)

dpd2cm

  • Guest
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!
« Last Edit: January 03, 2012, 01:13:16 am by dpd2cm »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
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: