编译支持c++11
Settings->Compiler->Compiler Settings
勾选Have g++ follow the C++11 ISO C++ language standard确定即可!
使用<thread>库
需要在 linker 的 other options 里添加 -pthread
编译支持c++11
Settings->Compiler->Compiler Settings
勾选Have g++ follow the C++11 ISO C++ language standard确定即可!
使用<thread>库
需要在 linker 的 other options 里添加 -pthread