-
VC++ 封装了队列类 /// /// /// ///// //this a example for using Queue /////////////////...
VC++ 封装了队列类 /// /// /// ///// //this a example for using Queue ///////////////////////////////////////// #include "Queue.h" //define queue data struct struct QueueData { char data[20] int nId } //define queue typedef TQueue TMyQueue //put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, "hello!") data.nId = 0 m_pMyQueue.TryPut(data) } //try put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, "hello!") data.nId = 0 if(m_pMyQueue.TryPut(data) != 0) { MessageBox("put queue error") } else { MessageBox("put queue success") } } //get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.Get(data) MessageBox(data.data) } //try get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.TryGet(data) MessageBox(data.data) }-cohort of VC Packaging category /////////////////////////////////////////// this is a example for using Queue ///////
- 2023-07-24 17:35:03下载
- 积分:1
-
This document is a detailed introduction to the Bluetooth technology was born, a...
本文件向大家详细的介绍了蓝牙技术的诞生,以及所遵循的一系列协议,为初学者进一步学习或开发蓝牙技术提供一些帮助。-This document is a detailed introduction to the Bluetooth technology was born, and followed by a series of agreements, for beginners to learn or develop Bluetooth technology to provide some help.
- 2022-04-24 21:44:42下载
- 积分:1
-
Turbo C, prepared by serial testing procedures can be used for motherboard repai...
Turbo C编写的串口测试程序,可作主板维修时调试和测试串口使用。-Turbo C, prepared by serial testing procedures can be used for motherboard repair debugging and testing serial port to use.
- 2022-01-31 05:20:31下载
- 积分:1
-
GSM模块通讯源码
GSM通讯源码,采用C++语言,用VC6.0编辑器编写的代码,对于挂接GSM模块后,能正常的与手机进行短信的收发,才用消息队列,开辅助线程对短信进行接收、解析、读取,对发送短信和接收短信,都采用消息队列的模式进行收发。非常好用。对搞GSM模块上位机开发的程序员非常有帮助
- 2022-08-17 18:39:06下载
- 积分:1
-
GPRS wireless communication control. GPRS
GPRS 无线通信控件。基础的无线GPRS通信。可做无线监控用-GPRS wireless communication control. GPRS-based wireless communications. Can use wireless monitors
- 2022-02-02 06:39:49下载
- 积分:1
-
Through PC/SC driver send instrument commands Apdu source
通过PC/SC驱动发送Apdu指令的工具源码-Through PC/SC driver send instrument commands Apdu source
- 2022-02-20 11:05:53下载
- 积分:1
-
sd卡 MMC卡 MCU读取方案最完整的资料
sd卡 MMC卡 MCU读取方案最完整的资料-sd card MMC card MCU reading program the most complete information
- 2022-08-25 13:39:19下载
- 积分:1
-
串口调试源码
串口调试助手源码,内含串口调试助手使用文档,详细开发过程文档,可以根据文档一步步开发出串口调试程序,对于串口的理解和串口编程有很大的帮助。
- 2022-07-25 20:58:00下载
- 积分:1
-
串口通信的书籍,主要讲述串行通信原理,从底层详细讲解。...
串口通信的书籍,主要讲述串行通信原理,从底层详细讲解。-Serial communication books, mainly on the principle of serial communication, from the bottom to explain in detail.
- 2022-12-03 12:45:03下载
- 积分:1
-
包括八天线准正交空时码的编码和解码函数,满速率部分分集增益,解码包括部分行的解码...
包括八天线准正交空时码的编码和解码函数,满速率部分分集增益,解码包括部分行的解码-Including eight antenna quasi-orthogonal space-time codes of encoding and decoding functions, full diversity gain some speed, decoding including some line decoder
- 2022-03-18 04:41:09下载
- 积分:1