运维经–目录


‘nullptr’ was not declared in this scope

因为nullptr是c++11新特性,所以编译时需要添加编译参数。

g++ test.cpp -std=c++11
Logo

一站式 AI 云服务平台

更多推荐