摘要:
设定线程可执行时间 #include <iostream> using namespace std; #include <boost/thread.hpp> boost::thread t_time; void wait(int seconds) { boost::this_thread::slee 阅读全文
posted @ 2021-01-14 18:58
采男孩的小蘑菇
阅读(301)
评论(0)
推荐(0)
摘要:
注:假设需要屏蔽的warning号为8888 第一种方法, 在代码中加入#prama warning(disable:8888) 第二种方法, VS编译器中设置, 以VS2005为例, 打开项目属性-> c/c++ -> Advanced -> Disable Specific Warnings 输 阅读全文
posted @ 2021-01-14 14:05
采男孩的小蘑菇
阅读(998)
评论(0)
推荐(0)

浙公网安备 33010602011771号