Saturday

CodeBlocks: Old CodeBlocks IDE to set C++ ISO standard: C++ 2011 / C++ 2014 / C++ 2017 / C++ 2020

You can use old CodeBlocks because CodeBlocks is just an IDE code editor and you can change to the new C++ compiler mingw version.

Do the following steps.

Open CodeBlocks
Menu > Settings > Compiler
Selected compiler: GNU GCC Compiler
Tab on "Compiler settings"
Tab on "Other compiler options"
Type: -std=c++11    or    -std=c++14   or    -std=c++17    or    -std=c++2a
Click the button OK

No comments:

Fire survival tips

1 Stop, drop, cover and roll  If your clothes catch fire stop, drop, cover your face with your hands and roll to smother the flames. 2 Get d...