Location:
Search - queue in MFC
Search list
Description: 用MFC写的栈和队列的小程序,有漂亮的界面,debug文件夹中有演示-with MFC wrote Stack and Queue small procedures, beautiful interface, debug folder with demonstration
Platform: |
Size: 105472 |
Author: 陈涛 |
Hits:
Description: Windows编程基础
源程序组成结构
MFC编程基础
鼠标应用程序实例
消息映射-PostMessage()
The PostMessage function places (posts) a message in the message queue associated with the thread that created the specified window and then returns without waiting for the thread to process the message. Messages in a message queue are retrieved by calls to the GetMessage or PeekMessage function.
BOOL PostMessage( HWND hWnd, // handle of destination window
UINT Msg, // message to post
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter )
其中
hWnd
Handle to the window whose window procedure is to receive the message. Two values have special meanings: ValueMeaningHWND_BROADCASTThe message is posted to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows. The message is not posted to child windows.NULLThe function behaves like a call to PostThreadMessage with the dwThreadId parameter set to the identifier of the current thread.
Msg
Specifies the messa
Platform: |
Size: 479232 |
Author: 李毅 |
Hits:
Description: 用ACE通过队列实现可靠消息传送。在Windows环境下运行,运行时需要ACED.dll。-ACE through the queue with reliable messaging. In the Windows environment to run, run-time needs ACED.dll.
Platform: |
Size: 3598336 |
Author: wz |
Hits:
Description: 1.在Microsoft Visual Studio 2008中创建MFC工程DataStructTest0303
2.通过读入文件的形式,读取写在TXT文本中的实数数据
3.用push将这些数值添加到队列和栈中
4.在DataStructTest0303View.cpp中判断是否是回文
5.输出结果
-1. In Microsoft Visual Studio 2008 to create a MFC project DataStructTest0303 2. Through reading the file format, read TXT text written in the real data 3. With the push will add these values to the queue and stack 4. DataStructTest0303View.cpp determine whether the palindrome 5. output
Platform: |
Size: 3772416 |
Author: zengruige |
Hits:
Description: 使用 ACE 这个庞大的自适应通信环境并不是最佳的工程选择。这个例子以及其中的文档演示了如何使ACE与MFC和谐共处,解决因调用不当导致内存泄露、宽窄字符集接口等问题。
实现的例子使用ACE的Reactor 和 Task 实现了接收者-伴随处理模型,用消息队列实现了大数据包拼接,但要注意一个例程自发自收会发生阻塞, 这与使用API大不相同。ACE 太大了,很恼火。ACE 的 ACE_warppers.sln 使用VC2010进行了改变,添加了UnicodeDebug, UnicdoeRelease两个模式,对应多字节、Unicdoe的四种库命名为 ACE.dll, ACEd.dll, ACEu.dll, ACEud.d-Use of ACE Adaptive Communication Environment in this huge project is not the best choice. This example and the documentation which shows how ACE and MFC harmony to solve memory leak due to improper call, the interface width character set issues. Examples of implementation of the Reactor and the use of ACE Task implementation of the receiver- with processing model, with the message queue data packets to achieve a large mosaic, but note that since the resumption of a routine voluntary blocking occurs, which is very different from using the API. ACE is too large, very angry. ACE' s ACE_warppers.sln use VC2010 for a change, add UnicodeDebug, UnicdoeRelease two modes, corresponding to multi-byte, Unicdoe four library named ACE.dll, ACEd.dll, ACEu.dll, ACEud.dll
Platform: |
Size: 12347392 |
Author: 流浪小狗 |
Hits:
Description: 关于操作系统课程的主存空间的分配与回收
采用可变分区存储管理,采用空闲分区表(链)进行。设计一个空闲分区表(链),空闲分区通过空闲分区链来管理;在进行内存分配时,系统优先使用空闲区低端的空间。
设计一个某时刻主存空间占用情况表,作为主存当前使用基础。初始化空闲区和已分配区说明表的值。自己设计一个作业申请队列以及作业完成后的释放顺序,实现主存的分配和回收。把空闲区分区表的变化情况以及各作业的申请、释放情况显示、打印出来。
算法,用MFC环境实现。
-Distribution and recovery of the variable partition of main memory space on the course of the operating system storage management, the use of the idle partition table (chain). Design an idle partition table (chain), idle partitions to manage through the idle partition chain during memory allocation, priority use of the lower end of the free zone of space. A certain time of the design of main memory space occupancy of the table as a main memory currently in use basis. Initialize the free zone and have been assigned areas to illustrate the value of the table. Design a job request queue and the job is completed after the release order, the main memory allocation and recovery. Idle partition table changes, as well as job applicants, the release shows, print it out. Algorithm, using MFC environment.
Platform: |
Size: 59392 |
Author: 小鱼 |
Hits:
Description: 设计了一个CAD小型软件,该软件所具备的功能有:基本绘图功能(包括画点,画线,画圆,画折线,画多边形)和删除、移动的功能。在设计中,运用了MFC的基本知识及链式存储、队列等知识实现了以上功能。(A small CAD software is designed, which has functions of basic drawing, including drawing points, drawing lines, drawing circles, drawing polygons, drawing polygons, and removing and moving functions. In the design, the above functions are realized by using the basic knowledge of MFC and the knowledge of chain storage, queue and so on.)
Platform: |
Size: 4377600 |
Author: andy_vic
|
Hits: