How to set Netbeans to use C++11?
c++, netbeans
Solution
right click on your project -> Properties -> Build -> C++ Compiler -> Basic Options/C Standard -> C++11
Adding `-std=c++11` compiler switch is also possible there, under Compilation Line -> Additional Options.
Note that you need appropriately new NetBeans version to have C++11 support.
Further reading:
Setting Default NetBeans Options (-std=c99, -Wall) for C programs
NetBeans settings for GCC
Problem
I am a beginner in C++ as well as a beginning Netbeans user. How would I configure Netbeans to use C++11? I cannot seem to find the option anywhere.