-
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件...
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~4.dd。请将这些文件拷贝到TC当前目录下,或者在载 入时写明完全路径。由于屏幕大小的限制,当用户自己输入迷宫 时一定要注意:迷宫大小是有限制的,不小于4*3,不大于30*20。 否则会出现错误信息。输入开始时全是墙,用上下左右键移动, 用Del键删除墙,形成通路,用Enter键添加墙。输入结束时可以 将迷宫保存下来,以dd为扩展名。输入完毕时用F9键来得到结果, 找到路径时,屏幕下方会出现Path found,否则出现Path not found。 程序经Turbo C 2.0编译调试成功。运行时不用添加任何运行库。 不可以在VC上编译。-procedures purpose : to bring in a maze of arbitrary size, with a stack get out of the maze of trails and on the screen. Program : can achieve and preserve the printed maze maze, the accompanying documents were four test maze of trails to document test1 4.dd. I would be grateful if those files are copied to the TC current directory, or in the state when fully contained path. Due to restrictions on the size of the screen when the user input labyrinth must pay attention to : the size of the maze is a restriction, not less than 4* 3, not more than 30* 20. Otherwise there will be a wrong message. At the beginning of the importation of a
- 2022-08-06 12:51:19下载
- 积分:1
-
2d array implemented using pointer or template
在C++中,可以直接用[][]实现二维数组,但是[][]不能重载,所以,用模版与指针实现的自定义二维数组-2d array implemented using pointer or template
- 2022-01-22 13:39:16下载
- 积分:1
-
工资管理系统
Payroll Management system
- 2023-05-18 06:40:04下载
- 积分:1
-
贪吃鱼游戏
应用本章构建的游戏角色模块及AI控制模块,并进一步结合已经实现的游戏引擎其它模块的应用,初步掌握如何利用角色类来控制游戏中的角色,并学习如何让角色具有简单的AI能力,为后续的实际游戏设计打下基础。贪吃鱼游戏。
- 2022-05-22 19:58:16下载
- 积分:1
-
visual c++ 代码开发程序
visual c++ 代码开发程序-visual code development process
- 2022-08-05 12:27:18下载
- 积分:1
-
SAR影像配准源代码,能够实现单视复数影像的配准,为干涉做前期数据处理...
SAR影像配准源代码,能够实现单视复数影像的配准,为干涉做前期数据处理-SAR image matching source code, to achieve single-look complex image registration, in order to make preparations for data processing interference
- 2022-02-03 15:31:38下载
- 积分:1
-
高等教育出版社 电路 第四版 低9 10 11 章
高等教育出版社 电路 第四版 低9 10 11 章-ppt for dianlu 9 10 11
- 2022-08-21 20:16:09下载
- 积分:1
-
coco2dx游戏引擎实现加减法练练看
项目使用coco2dx游戏引擎实现的加减法练练看,类似于水果练练看,通过完成加法和减法练习来达到消除的目的,游戏使用C++语言编写。
- 2023-07-18 14:15:07下载
- 积分:1
-
Replacement in the MFC dialog box under the skin, a simple, easy to realize
在MFC下更换对话框皮肤,方法简单,易于实现-Replacement in the MFC dialog box under the skin, a simple, easy to realize
- 2023-07-15 20:45:03下载
- 积分:1
-
基于AE的ArcGIS初级界面,主要有内容表、工具栏、地图显示区
基于AE的ArcGIS初级界面,主要有内容表、工具栏、地图显示区-AE based on the primary interface of ArcGIS, the contents of the main table, toolbar, map display
- 2022-03-06 14:19:14下载
- 积分:1