用DevC++ 运行C++ 程序时,出现如下错误

error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must  be enabled with the -std=c++11 or -std=gnu++11 compiler options.

按下图设置即可。

DevC++ 上的ISO C++ 11开关,使用C++ 11新特性

DevC++ 上的ISO C++ 11开关,使用C++ 11新特性


相关文章: