DEVC++报错:
#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.
洋文好的话看上面就懂了且已经教你怎么做了,没设置添加c++11标准。
在工具的编译器选项栏目勾选编译时加入以下命令并添加字段-std=c++11