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 ///////
扩展的直序扩频系统,包括了同步,信道估计,频偏和频偏估计-Expansion of the Direct Sequence Spread Spectrum system, including synchronization, channel estimation, frequency offset and frequency offset estimation
通过仿真,分析了多径效应和多普勒效应的原理.并给出了移动信道的建模方案和程序.每个结论都给出了仿真程序可直接运行.-through simulation, Analysis of the multi-path effects and the principle of Doppler effect. and gives the mobile channel modeling programs and procedures. Conclusion gave each a simulation program can run.