摘要:
//main.cpp#include #include void worker(){ std::cout << "another thread";}int main(){ std::thread t(worker); std::cout << "main thread" << std::endl; t.join(); return 0;}编译:g++ main.cp... 阅读全文
posted @ 2014-01-13 21:25
helloweworld
阅读(219)
评论(0)
推荐(0)
摘要:
如查看g++版本 方式一: g++ –version 方式二: dpkg –s g++ 方式三: apt-cache show g++ 阅读全文
posted @ 2014-01-13 21:07
helloweworld
阅读(410)
评论(0)
推荐(0)

浙公网安备 33010602011771号