记录学习中存在的问题,第一次使用nullptr却报错了codeblock: 'nullptr' was not declared in this scope
原因:是编译器没有开启C++11特性。
解决办法:
setting->complier 对下列内容进行勾选
记录学习中存在的问题,第一次使用nullptr却报错了codeblock: 'nullptr' was not declared in this scope
原因:是编译器没有开启C++11特性。
解决办法:
setting->complier 对下列内容进行勾选