http://www.codeblocks.org/
codeblocks-XX.XX-mingw-setup.exe
".Settings -> Compiler...
F9
.File -> New -> Empty File
|
|
File -> Save file as...
.cpp
extension, such as example.cpp
.F9
should compile and run the program.x
, the compiler does not understand the new meaning given to auto
since C++11. Please, make sure you have a recent compiler and that you enabled the compiler options to compile C++11 as described above.