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:

Newton-Raphson Method in C++

The Newton Raphson Method is an open method used to find the roots of a function. It employs the technique of linear approximation and invol...