摘要: 创建win32窗口需要注册,回调函数一些操作,如果我们不需要窗口的话,可以使用下面代码获得一个仅有消息循环的控制台。 ps: 这样做主要对一些不需要窗口但需要消息循环的程序特别有用,比如蓝牙回调。 #include <Windows.h> #include <thread> #include <io 阅读全文
posted @ 2021-03-05 17:49 strive-sun 阅读(678) 评论(0) 推荐(0) 编辑