Professional Documents
Culture Documents
Code::Blocks is a cross-platform IDE that supports compiling and running multiple programming languages.
http://www.codeblocks.org/
For Windows, it is offered optionally with the MingW compiler. This version that includes MingW is sufficient
to follow these tutorials, letting you compile the examples right away. If unsure, download the one named
"codeblocks-XX.XX-mingw-setup.exe".
For Linux and Mac users, download the version corresponding to your distribution.
Installation
On Windows, run the downloaded executable file, and follow its instructions. The default options are fine.
And here, within "Global compiler settings", in "Compiler settings" tab, check the box "Have g++ follow the
C++11 ISO C++ language standard [-std=c++11]":
Page 1 of 2
Console Application
To compile and run simple console applications such as those used as examples in these tutorials it is enough
with opening the file with Code::blocks and hit F9.
As an example, try:
Then: