-
程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个...
程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个线程有一个消息队列,主线程中的PostThreadMessage()返回TRUE,程序由Visual C++ 6.0开发,没有用到MFC-process creates two threads, one thread without Message Queue, the main thread to thread a resolution to send a message, we can see PostThreadMessage () returns FALSE, establish procedures to the second thread is a message queue, the main threads of PostThreadMessage () returns TRUE, procedures Visual C 6.0, did not use the MFC
- 2022-03-05 04:09:28下载
- 积分:1
-
开源支持多曲线绘制图表的控件源代码,可以纵横坐标刻度。...
开源支持多曲线绘制图表的控件源代码,可以纵横坐标刻度。-Open-source rendering support for multi-curve graph control source code, you can scale vertical and horizontal coordinates.
- 2023-08-31 00:50:04下载
- 积分:1
-
WinCE ISAPI demo 程序,作为CE中嵌入式web的接口,通过编程ISAPI来完成特定的数据访问,本例完成从内存共享中读取映射,响应用户的http...
WinCE ISAPI demo 程序,作为CE中嵌入式web的接口,通过编程ISAPI来完成特定的数据访问,本例完成从内存共享中读取映射,响应用户的http get/post请求-WinCE ISAPI demo program, as a CE in the embedded web interface, through programming ISAPI to complete the specific data access, which in this case from shared memory read mapping, in response to the user
- 2022-02-13 02:10:30下载
- 积分:1
-
this is a data encryption procedures. Some beginners might be used to.
这是一个数据加密的程序。有些初学者可能已经习惯了。
- 2022-08-22 02:21:57下载
- 积分:1
-
由于涉及图片的显示,所以我采用MFC进行编程。由于MFC封装了win32的许多APIAPI,所以可以不用考虑很多操作的细节,而专注于图像的处理。...
由于涉及图片的显示,所以我采用MFC进行编程。由于MFC封装了win32的许多APIAPI,所以可以不用考虑很多操作的细节,而专注于图像的处理。-because of the pictures, so I used MFC programming. As the MFC Packaging many APIAPI win32, so it is not necessary to consider many details of the operation, and focus on image processing.
- 2022-02-10 07:49:18下载
- 积分:1
-
first part of the init () method to load the game all the necessary resources, i...
? 部分内容
首先我们在init()方法中加载所有游戏必要的资源,包括声音,鼠标事件的监听、背景等相关设置。利用addBomb()方法增加bomb的数量、初始位置及初始化颜色。再利用start()启动线程。线程调用run()方法,处理炸弹下降运动down()。Repaint()会在每一个单位时间调用paint()方法不断的刷新屏幕,paint()调用Bomb.addBomb()绘制炸弹。当游戏者按下鼠标,mousePress()事件激活,判断是否点中了炸弹。如果点中addScore()自动加1分。如果没有点中炸弹,炸弹继续下降,当撞到屏幕wasHitEarth()方法激活,其内调用death()方法,减少Denfenser.life生命点,同时audio.play()处理声音的播放,用以提示游戏者。当你的生命点数小于0时”Game Over”。-first part of the init () method to load the game all the necessary resources, including the voices of the mouse wiretapping, and other relevant background set. Use addBomb () method to increase the number of bomb, the initial location and initialization color. Reuse start () activated threads. Call threads run () method to deal with bomb dropped down Movement (). Hamas () in a unit time per call to paint () method is constantly refresh the screen, paint () call Bomb.addBomb () to draw bomb. When pressed mouse game, mousePress () activation of the incident to determine whether the point of the bomb. If the
- 2022-05-20 07:56:26下载
- 积分:1
-
一系列的类别,有模板,运营商
一个array的类,有模板,运算符-An array of categories, there are templates, operator
- 2022-05-26 20:03:50下载
- 积分:1
-
奥恩斯坦泽尼克方程
函数fm=oz(x)
- 2023-07-14 15:30:04下载
- 积分:1
-
快速信息化系统开发框架V4.1
快速信息化系统开发框架V4.1,C#开发的平台,可以快速二次开发
- 2022-04-16 01:05:42下载
- 积分:1
-
Visual C++ 完全自学手册的代码
Visual C++ 完全自学手册的代码-Visual C++ Completely self-manual code
- 2022-02-05 04:56:05下载
- 积分:1