#include <iostream> #include <thread> void foo() { std::cout<<"in foo \n"; } ... g++ -std=c++11 -pthread -o threadtest threadtest.cpp ...
確定! 回上一頁