请问怎么才能支持C++11?为什么用sw5CC提示C++11中的函数出错
-
QuantumState.h:87: error: 'nullptr' was not declared in this scope
main.cpp: In function 'int main()':
main.cpp:13: error: 'nullptr' was not declared in this scope
In file included from QuantumState.cpp:2:
QuantumState.h:87: error: 'nullptr' was not declared in this scope
QuantumState.cpp: In member function 'void QuantumState::init()':
QuantumState.cpp:46: error: 'nullptr' was not declared in this scopeQuantumState.cpp:504: error: 'to_string' was not declared in this scope
-
据我所知不支持C++11。
-
@jflfy 那这个有点坑,说好的支持C11,很多库用不了