You can't fix it with that compiler because that compiler version is too old. Get free Code::Blocks with MinGW (link here), which is current.
Ancient Dragon
Achieved Level 70
32,274 posts since Aug 2005
Reputation Points: 5,852
Solved Threads: 2,590
Skill Endorsements: 70
well it seems the code will not work in codeblocks.
They use the same compiler, just different versions... And there's no way to say what you did wrong unless you post the code here.
deceptikon
Challenge Accepted
3,499 posts since Jan 2012
Reputation Points: 822
Solved Threads: 481
Skill Endorsements: 58
compiled ok for me
#include <iostream>
using namespace std;
int main()
{
long long x = 123;
cout << "Hello world! " << x << endl;
return 0;
}
Ancient Dragon
Achieved Level 70
32,274 posts since Aug 2005
Reputation Points: 5,852
Solved Threads: 2,590
Skill Endorsements: 70