Codeblocks - Project - -std=c++11
Codeblocks - Project - -std=c++11
-std=c++11
1. Codeblocks
-
Settings -> Compiler…
-
GNU GCC Compiler
-
Compiler settings -> Compiler Flags
Have g++ follow the C++11 ISO C++ language standard [-std=c++11]
-
OK
2. Project
-
Project -> Build options…
Have g++ follow the C++11 ISO C++ language standard [-std=c++11]
-
Debug
-
Release