Set C++ Language standard You have to set for every single project. right click on project and open Property/C/C++/Language/C++ Language Standard, then choose the version you want. click C/C++/Command Line and add the following line to Additional Options: /Zc:__cplusplus