DEV C++中[Error] ‘nullptr’ was not declared in this scope 解决办法: 第一步: 点击 DEV C++中“Tools”; 第二步: 点击 Tools下Compiler Options; 第三步 点击Settings; 第四步 点击Code Generation; 第五步 在Language standard中选择ISO C++ 11,错误解除,执行完毕。