-
Exemplo Implementação 指纹
Exemplo de implementação 做 leitor de Exemplo de implementação 做 leitor de Exemplo de implementação 做 leitor de 数字指纹的数字指纹的数字指纹
- 2022-05-05 16:06:26下载
- 积分:1
-
GPA calculator source code, through debugging, vc6.0 and sql server 2000 databas...
GPA计算器的源码,通过调试,vc6.0和sql server 2000数据库,谢谢使用-GPA calculator source code, through debugging, vc6.0 and sql server 2000 database, thank you to use! ! !
- 2022-01-26 03:10:35下载
- 积分: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
-
an excellent drive Duikao tool, it can bring a disk copy of all the contents of...
一个出色的硬盘对拷工具,它可以把一个磁盘上的全部内容复制到另外一个磁盘上,也可以把磁盘内容复制为一个磁盘的镜像文件,以后你可以用镜像文件创建一个原始磁盘的拷贝。它可以最大限度地减少你每次安装 Win95 、WinNT 和 OS/2 等操作系统的时间,如果你有好几台配置相似的机器需要安装 Win95 , 你会发现使用 GHOST 使事情变得十分简单。GHOST在 DOS 下运行,并且可以从一张 DOS 引导盘上运行。-an excellent drive Duikao tool, it can bring a disk copy of all the contents of a disk to another, and it can also make disk copy of a disk image file, later you can create an image file copy of the original disk. It can reduce to the maximum every time you install Win95, WinNT and OS/2 operating systems, such as the time, if you have several configuration similar to the need to install Win95 machine, you will find the use of GHOST makes things very simple. GHOST running under DOS, and DOS can be a guide plate operation.
- 2022-02-20 21:01:37下载
- 积分:1
-
对DCT系数进行计算,使用一下
考虑到DCT变换中的系数要重复计算,可使用查找表来提高运行的效率,只要开始DCT变换之前计算一次,DCT变换中就可以只查找而无需计算系数。-to the DCT coefficients to be calculated, the use of look-up tables to improve operational efficiency, as long as the DCT started once before, on DCT can only search without calculation of the coefficient.
- 2023-06-22 00:15:04下载
- 积分:1
-
网页设计技术,几乎涵盖了各个方面,很有用
网页设计技术,几乎涵盖了各个方面,很有用-Web design technology, covering virtually all aspects of useful
- 2022-02-05 12:47:25下载
- 积分:1
-
TS流系统层解析程序,功能齐全。VC编译通过。
TS流系统层解析程序,功能齐全。VC编译通过。-TS streaming system layer analytical procedures, a full-featured. Through the VC compiler.
- 2022-08-10 22:11:12下载
- 积分:1
-
这只是一个例子,一个内容提供者类(见文章),它可以…
This just an example of a content provider class (see article), which overrides the PopulateItem virtual function to show the Shell s resources only when the user wants to access them
- 2022-02-25 12:29:12下载
- 积分:1
-
灰度图像
这个程序用来将在普通图像转换为灰度图像,使用 windows 应用程序
- 2022-03-17 08:39:20下载
- 积分:1
-
里外有很多C++实例,并附有源码,都是在VC6.0上面调试过的,可以直接使用!...
里外有很多C++实例,并附有源码,都是在VC6.0上面调试过的,可以直接使用!-Inside and outside has a lot of C examples, with source code are in the VC6.0 debugger over the top and can be used directly!
- 2022-09-04 07:00:03下载
- 积分:1