-
demonstration of how the dialog box to view the methods used vc 6.0.
演示了如何在对话框中加入视图的方法,采用vc++6.0.-demonstration of how the dialog box to view the methods used vc 6.0.
- 2022-01-25 16:44:26下载
- 积分:1
-
参照《Windows程序设计》一书编写的Wave声音捕获到内存的VCL控件BCB源码(亦即一个通用的C++类)。采用双缓冲技术,效果比较流畅。可以方便进行音频数...
参照《Windows程序设计》一书编写的Wave声音捕获到内存的VCL控件BCB源码(亦即一个通用的C++类)。采用双缓冲技术,效果比较流畅。可以方便进行音频数据处理和研究。根据需要,代码可能要部分修改。-light "Windows Programming," a book prepared by the Wave voices to capture the memory VCL controls BCB source (ie, a generic category C). Double buffer technology and the results were quite fluent. Audio can facilitate data processing and research. According to the need, code may be some changes.
- 2023-04-19 18:30:04下载
- 积分:1
-
网络电话netphone的源代码供即时通讯爱好者学习
网络电话netphone的源代码供即时通讯爱好者学习-Netphone telephone network source code
- 2022-07-14 04:42:22下载
- 积分:1
-
Windows下的一个worm源代码
Windows下的一个worm源代码-A worm under the Windows source code
- 2022-05-17 10:08:24下载
- 积分:1
-
Screen spy, do not be afraid to steal someone else use your computer, you can un...
荧幕间谍,不用怕别人偷用你的电脑,也可以了解他用你的电脑做了什么事-Screen spy, do not be afraid to steal someone else use your computer, you can understand him use your computer to do what happened
- 2023-09-06 18:00:03下载
- 积分:1
-
debug success in win2000/winxp running probe
已经在vc下调试成功,在win2000/winxp下运行,探测器-debug success in win2000/winxp running probe
- 2022-02-02 09:12:01下载
- 积分:1
-
迷宫追寻小游戏 C++MFC
应用背景
这个游戏为玩家控制红色方块,去吃掉棕色,绿色,蓝色的方块,一旦一个方块被吃,便会自动生成另一个相同颜色的方块。直到游戏时间结束为止。
程序函数功能:
ondraw函数:
显示游戏界面(用画刷刷成白色),显示地图(黑色),显示食物0,1,2(分别为:棕色,绿色,蓝色),显示玩家(红色)
显示文字,时间,分数。
OnEraseBkgnd函数:
用来更新窗口背景,游戏以位图为窗口背景。
OnGameStart函数:
关联窗口菜单中的开始游戏。包括:
IniGame();(初始化游戏)
m_nGameStatus=1;(游戏状态1,开始)
SetTimer(1,100,NULL);(定时器0.1秒执行一次OnTime)
Invalidate();(转向OnDraw)
IniGame函数:
初始化游戏,确定游戏显示位置,确定玩家初始位置,转向IniAim函数
IniAim函数:
初始化目标,这里的三个目标的位置为随机产生。
OnKeyDown函数:
监控设备按下的键,确定玩家移动方向。
ReDisPlay函数:
重画点所在的小方块。减少对Invalidate()的调用,使屏幕不太闪硕。
OmTimer函数:
完成时间的计算。
关键技术游戏中的人工智能:
棕色方块的移动算法为基本寻路算法—物体沿着墙走。
绿色方块的移动算法为基本的逃避算法—物体总会向玩家的反方向移动。
蓝色方块的移动算法为漫游算法—随机产生一个方向值,物体移动的方向不
- 2022-03-23 18:25:51下载
- 积分:1
-
4:00 realize the functional modules of finite element procedures, a certain comm...
实现四点单元有限元功能的程序,具有一定通用性,对一般的板分析时比较精确.-4:00 realize the functional modules of finite element procedures, a certain commonality of general plate analysis more precise.
- 2022-06-20 19:53:59下载
- 积分:1
-
indiftpd是一个独立的(单一可执行文件)FTP服务器设计
IndiFTPD is a standalone (single executable) FTP server designed for
situations when a user wants to quickly start up a server without going
through an installation. -IndiFTPD is a standalone (single executable) FTP server designed for situations when a user wants to quickly start up a server without going through an installation.
- 2022-07-08 07:56:06下载
- 积分:1
-
Seeking a minimum circle to cover all the points
找到一个最小的圆盘使覆盖平面上所有的点集-Seeking a minimum circle to cover all the points
- 2022-03-06 13:31:48下载
- 积分:1