Codeblocks報錯——nullptr was not declared

解決辦法: 一、Settings/Compiler...,進入Compiler Settings界面 然後GNU GCC Compiler/Compiler Settings/勾選Have g++ follow the coming C++0x ISO C++ language standard [-std=gnu++0x]    然後OK退出。
相關文章
相關標籤/搜索