-
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
-
Solving the problem TsP new artificial neural network method with an automatic
一种求解TsP问题的新型人工神经网络方法
用自动波方法求解问题,该方法具有鲁棒
性和可靠性好、人规模并行计算等特点-Solving the problem TsP new artificial neural network method with an automatic-wave method to solve the problem, the method has the robustness and reliability, human-scale parallel computing and so on
- 2023-01-20 01:35:05下载
- 积分:1
-
GSMl3层概述,需要了解的朋友可以看一下,是ETSI文档.
GSMl3层概述,需要了解的朋友可以看一下,是ETSI文档.-GSMl3 outlined layer, need to know you can look at is the ETSI document.
- 2022-02-13 14:35:16下载
- 积分:1
-
Serial multi
多线程串口调试工具,支持文本传输,可十六进制显示-Serial multi-threaded debugging tools, support for text transmission, can be displayed in hexadecimal
- 2023-07-02 18:05:04下载
- 积分:1
-
实现松下PLC与PC之间的通讯,对于需要自己开发通讯的人来说,有参考价值...
实现松下PLC与PC之间的通讯,对于需要自己开发通讯的人来说,有参考价值- Realizes between Matushita PLC and the PC communication,
regarding needs the person which own develops the communication to
say, has the reference value
- 2022-03-23 22:01:01下载
- 积分:1
-
Gprs test code
Gprs测试代码-Gprs test code
- 2023-02-23 00:40:03下载
- 积分:1
-
直接调用的实时天气预报信息,在什么地方,就是什么地方的首页....
直接调用的实时天气预报信息,在什么地方,就是什么地方的首页.-Direct calls in real-time weather information, in any place where is the home page.
- 2022-07-17 17:05:09下载
- 积分:1
-
VC网络与通信经典编程,不用我说,名称就是见证
VC网络与通信经典编程,不用我说,名称就是见证-VC networking and communications classical programming, I do not have that name is witness
- 2022-04-09 00:24:18下载
- 积分:1
-
P2PChat_点对点聊天软件
本代码是点对点聊天软件,是参照书上编写。 仅供学习参考利用。
- 2022-10-10 15:45:03下载
- 积分:1
-
具有类似QQ程序的功能,是学习VB网络编程的好例子,界面漂亮...
具有类似QQ程序的功能,是学习VB网络编程的好例子,界面漂亮-similar procedures QQ functions, is learning network programming in VB good example of beautiful interface
- 2022-01-22 13:17:31下载
- 积分:1