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 ///////
This java code examle shows the http connection and communication and data sending via GPRS application on phone.-This java code examle shows the http connection and communication and data sending via GPRS application on phone.
程序使用了自相关性和互相关性较好的gold码作为扩频序列,直扩,扩频增益设置为31,模拟用户数为4-Program uses a self-correlation and cross-correlation of the better gold code as spreading sequence, direct expansion, spreading gain is set to 31 to simulate the number of users of 4
用在32位计算机上的串口通信打包接口库文件.前面的各种结构体,除了因为字宽原因,
使用了不同数据类型以外,实际效果与相应的单片机程序接口是一致的.平台独立.-with 32 computers in the serial communication interface library package. In front of the structure, in addition to the reasons for wide characters, the use of different data types, the actual results with the corresponding microcontroller interface is the same. Platform independence.
计量管理软件,串口通讯,不可多得的称重软件完全源代码,下载即可使用!-Measurement of management software, serial communications, rare totally weighing software source code, you can use to download!