I need to enable C++11 in Codeblocks 16.
Several tutorials explain that all one needs to do is select the \"Have g++ follow the C++11 ISO C++ language standard
goto settings-> compiler ->In GNU GCC mode,-> Compiler settings-> Compiler flags -> tick the "Having the g++ follow c++ 11 ISO C++ language standard.."
thats it Check this helpful Youtube link