-
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
-
Communication Serie , RS232, HyperTerminal
Communication Serie , RS232, HyperTerminal
- 2023-08-22 05:35:03下载
- 积分:1
-
中国电信parlayx webservice开发文档及规范
中国电信parlayx webservice开发文档及规范-China Telecom parlayx webservice development documents and regulations
- 2022-01-26 02:49:58下载
- 积分:1
-
The code is on the regular shutdown procedure, can help understand the timing an...
本代码是关于定时关机的程序,能帮助理解定时关机的原理及实现过程-The code is on the regular shutdown procedure, can help understand the timing and realization of the principles of the shutdown process
- 2022-03-10 03:44:11下载
- 积分:1
-
串行通信
Serial communication
- 2022-08-23 15:18:55下载
- 积分:1
-
Chinese version of WCDMA Interface Protocol for details about the composition an...
WCDMA接口协议中文版,用于详细了解WCDMA接口结构组成及流程-Chinese version of WCDMA Interface Protocol for details about the composition and structure of WCDMA interface flow
- 2022-04-07 21:31:11下载
- 积分:1
-
radar wf application
radar wf application
- 2023-08-22 06:45:02下载
- 积分:1
-
CDMA的matlab代码
包括发送,接收及通过nakagami信道
MC-CDMA的matlab代码
包括发送,接收及通过nakagami信道-MC-CDMA, including the matlab code to send, receive and pass the Nakagami channel
- 2022-02-28 20:25:00下载
- 积分:1
-
信道编码中的霍夫曼编码在matlab环境下的实现
信道编码中的霍夫曼编码在matlab环境下的实现-Huffman coding
- 2022-07-06 23:29:53下载
- 积分:1
-
与Casio BOSS进行串口通讯的程序
与Casio BOSS进行串口通讯的程序 -Serial communication with Casio BO
- 2022-11-15 09:00:03下载
- 积分:1