DevC++ 中 [Error] ‘nullptr‘ was not declared in this scope 的解决办法
DevC++ 中 [Error] ‘nullptr’ was not declared in this scope 的解决办法
1. 点击工具栏(英文版为 Tools)

2. 选择编译选项(英文版为Compiler Options)

3. 选择“代码生成/优化”(英文版为Settings)

4. 选择“代码生成”(英文版为Code Generation)

5. 最后一行语言标准(英文版为Language standard)选择 ISO C++ 11

6.点击确定,错误就解除了
给作者一键三连,关注我们