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 ///////
这是一个用LPC2132作的终端,有通协议源代码和SED1335控制液晶源代码- This is the terminal which does with LPC2132, has passes the
agreement source code and the SED1335 control liquid crystal source
code
从串口接收到数据后,实时显示波形或数据。初衷是用来显示msp430 sd16 发送的数据,波特率不能太大。-Received from the serial data, real-time display waveforms or data. Mind is used to show the msp430 sd16 sent data, the baud rate should not too much.
目录邮件发送高级编程是一个高级的邮件发动程序,能够设定smtp的验证,同时也能够发送附件,还能够设定各种编码以及数据加密。
-Advanced Programming is a senior mail launch procedures to set smtp test also sent to the annex, but also can set all kinds of coding and data encryption.
MAD-FCL (version 1.7):
The software is distributed in binary/source code formats under a GPL (GNU GENERAL PUBLIC LICENSE) license. Here is the official copyright and license. Distribution package is named to MAD-FCL (MAD FileCasting Library). Source distribution contains MAD-ALCLIB, MAD-SDPLIB and MAD-FLUTELIB libraries and MAD-FLUTE application. Binary distribution contains only MAD-FLUTE application. MAD-FCL is implemented using C-language. Latest binaries for Linux are compiled in Debian Linux with gcc version 4.0.4.
MAD-FLUTELIB is based on RFC 3926 (FLUTE). -MAD-FCL (version 1.7):
The software is distributed in binary/source code formats under a GPL (GNU GENERAL PUBLIC LICENSE) license. Here is the official copyright and license. Distribution package is named to MAD-FCL (MAD FileCasting Library). Source distribution contains MAD-ALCLIB, MAD-SDPLIB and MAD-FLUTELIB libraries and MAD-FLUTE application. Binary distribution contains only MAD-FLUTE application. MAD-FCL is imp