-
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
-
音频工作站提出24位音频处理卡实现方案,可以完成高保真立体声音频信号的录取、...
音频工作站提出24位音频处理卡实现方案,可以完成高保真立体声音频信号的录取、-Audio Workstation made 24 audio processing card program complete high-fidelity stereo audio signals of admission,
- 2022-06-28 11:54:04下载
- 积分:1
-
BOOT的启动流程及移植,很适合学习U_BOOT的初学者!
U-BOOT的启动流程及移植,很适合学习U_BOOT的初学者!-U-BOOT start-up flow and transplantation, it is suitable for beginners to learn the U_BOOT!
- 2022-02-04 05:47:09下载
- 积分:1
-
When two dice to seven points and 11 wins When two dice and for two points. Or 3...
When two dice to seven points and 11 wins When two dice and for two points. Or 3. Or 5 to lose. on the other to continue throwing, if referrals to lose seven, and the last time it won -When two dice to seven points and 11 wins When two dice and for two points. Or 3. Or 5 to lose. On the other to continue throwing, if referrals to lose seven, and the last time it won
- 2022-01-29 02:28:22下载
- 积分:1
-
ComToCom,串口之间通信
串口之间通信的源代码。使用C++开发,对初学者有用。
- 2023-03-01 11:20:04下载
- 积分:1
-
Turbo码编码器解码器交际
turbo code encoder decoder communicacion
- 2023-04-07 00:55:03下载
- 积分:1
-
J2ME wireless download code
J2ME 无线开发代码下载 -J2ME wireless download code
- 2022-01-22 03:04:10下载
- 积分:1
-
Serial receive procedures. Through the Com port to receive information from othe...
Serial接收程序。通过Com口接收来自其他设备的信息-Serial receive procedures. Through the Com port to receive information from other equipment
- 2022-01-23 10:20:20下载
- 积分:1
-
IEC60870
IEC60870-5-101讨论会演讲稿
演讲:鲁波-IEC60870-5-101 Seminar speech speech: Lu Bo
- 2022-01-22 01:18:10下载
- 积分:1
-
CDMA IS95 agreement. Describing the network structure, for the development of CD...
CDMA IS95协议 。 主要描述了系统网络结构,可以供CDMA网络开发和相关设备开发提供参考依据-CDMA IS95 agreement. Describing the network structure, for the development of CDMA network and related equipment for the development of reference
- 2023-02-09 08:45:04下载
- 积分:1