Code::Blocks Forums

User forums => Help => Topic started by: masum on August 14, 2010, 09:31:03 pm

Title: Code won't compiled
Post by: masum on August 14, 2010, 09:31:03 pm
I've just downloaded codeblocks-10.05mingw-setup.exe and installed it. I wrote a simple code, but it just won't compile. I've used code block before, but never had this problem.  This is what I usually do:

1) Open code block and click "Create a new project"
2)choose "Console App"
3)Choose C++
4)choose tittle (path is already set)
5)I leave the compiler part alone.

This won't even compile:

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}




Well, here is the screen shot.



(http://img42.imageshack.us/img42/2183/cerror.jpg) (http://img42.imageshack.us/i/cerror.jpg/)

Uploaded with ImageShack.us (http://imageshack.us)