
C++技巧
爱上解放晚晚
开启大神之路
展开
-
boost::thread 启动线程
#include "stdafx.h"#include <boost/shared_ptr.hpp>#include <boost/bind.hpp>#include <boost/thread.hpp>#include <iostream>using namespace std; class testCreateThread {public: void show(); };void testCreateThread原创 2022-04-21 14:53:09 · 604 阅读 · 0 评论 -
按下CTrl键判断
if ((::GetKeyState(VK_CONTROL) & 0x80)){}原创 2022-03-30 13:28:50 · 455 阅读 · 0 评论