-
简单三国辅助工具
基本功能已全面
简单三国辅助工具
基本功能已全面-jiandangsanguofuzhugongju
jibengongnengyiquanmian
- 2022-08-23 12:30:58下载
- 积分:1
-
一个用VC做的简单的播放器,实现基本的播放功能
一个用VC做的简单的播放器,实现基本的播放功能-A VC to do with a simple player to achieve the basic playback functions
- 2023-04-02 04:45:03下载
- 积分:1
-
some examples in c programming
some examples in c programming
- 2022-03-22 19:25:05下载
- 积分:1
-
C++应用编程200例,适合C++初学者,从简单的小程序开始。
C++应用编程200例,适合C++初学者,从简单的小程序开始。-C++ Application programming 200 cases for C++ Beginners, from the simple beginning of the proceedings.
- 2022-04-27 08:37:44下载
- 积分:1
-
编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,...
编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数),一开始人选一个正整数作为报数上限m,从第一个人开始按顺时针方向从自1开始顺序报数,报道m时停止报数。报m的人出列,将他的密码作为新的m值,从他的顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止,设计一个程序求出出列顺序。采用单向循环链表模拟此过程,按照出列的顺序印出各人的编号测试数据:m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为6,1,4,7,2,3,5)-No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, each holding a password (positive integers), a candidate started as a positive integers m ceiling on the number of reported from the first individuals to embark on the clockwise direction from the start sequence from a few newspaper reports m reportedly stopped a few. M reported out of the list of his password as a new value m, from the clockwise direction on the next re-started from a few reported so on, until all out all out, the design of a procedure sought out the order out. Listless one-cycle simulation process and follow the sequence shown in the numbers printed each test data : m for the initial 20; N = 7,7 personal passwords were : 3,1,7,2,4,8
- 2022-01-24 15:11:40下载
- 积分:1
-
图书管理系统,jdk1.9
图书管理系统,Java,Sqlserver,Eclipse。
1. 绘制系统的功能结构及流程图,并完成项目实验报告;2. 在eclipse中测试数据库的连接;3. 新建eclipse项目,预先导入图片文件等资源;4. 代码完成后进行测试与排错。
- 2022-02-22 10:17:32下载
- 积分:1
-
vc excellent source, which is the first part
vc++精品源码,这是第一部分-vc excellent source, which is the first part
- 2022-05-17 17:19:18下载
- 积分: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
-
一个用于测试系统速度的小程序,简单但是使用。for vc only
一个用于测试系统速度的小程序,简单但是使用。for vc only -a speed test system for the small program, but simple to use. For vc only
- 2022-03-05 02:51:10下载
- 积分:1
-
用C编写设备驱动程序的示例
用C编写设备驱动程序的示例-C device drivers example
- 2022-05-06 20:45:52下载
- 积分:1