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:

Multiple Languages in Spoken Words

Lax lah. - English, Malay.   Sik Zo Mei, Chi1, Simi Lay. = Chinese1, Chinese2, Chinese3. This barang is cikai one lah. = English, Malay, Chi...