-
输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~...
输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~4.dd。请将这些文件拷贝到TC当前目录下,或者在载 入时写明完全路径。由于屏幕大小的限制,当用户自己输入迷宫 时一定要注意:迷宫大小是有限制的,不小于4*3,不大于30*20。 否则会出现错误信息。输入开始时全是墙,用上下左右键移动, 用Del键删除墙,形成通路,用Enter键添加墙。输入结束时可以 将迷宫保存下来,以dd为扩展名。输入完毕时用F9键来得到结果, 找到路径时,屏幕下方会出现Path found,否则出现Path not found。 程序经Turbo C 2.0编译调试成功。运行时不用添加任何运行库。 不可以在VC上编译。 下载DOS版和windows版的迷宫游戏全部代码-importation of 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
- 2022-01-25 17:22:05下载
- 积分:1
-
vc++实现对大型文件的传输
对大型文件的读写是个麻烦的事,本程序实现了对大型文件的处理,实现对大文件的读写,方便大家学习VC++的文件处理方法,并作为参考,更有利于大家的学习
- 2022-03-07 21:07:40下载
- 积分:1
-
Tuxedo应用开发指南
Tuxedo应用开发指南--主要是用于TUXEDO中间件开发与应用配置的说明资料-TUXEDO APP DEVELOP INDEX
- 2022-02-25 08:45:40下载
- 积分:1
-
Linux system function usage details, file formats HTML, particularly helpful for...
Linux系统函数用法的详细介绍,文件格式HTML,对初学者特别有帮助哦-Linux system function usage details, file formats HTML, particularly helpful for beginners Oh
- 2023-08-07 22:45:03下载
- 积分:1
-
Simple Object Access Protocol (SOAP) introduced
简单对象访问协议(SOAP)介绍-Simple Object Access Protocol (SOAP) introduced
- 2022-04-08 09:55:27下载
- 积分:1
-
With a triangular mesh contour map is the edge of the triangle with the three me...
用三角网法绘制等值线,是在三角形的三条边上用线性内插方法寻找等值点,这种方法的机理是将每个三角形看作是空间的一个平面,这就要求在每个三角形的三个顶点内的地貌形态无明显的变化,故此希望将其中最靠近的三个点构成三角形,以符合上述机理,使插补的等值点精度较高,更好的反映地貌的实际形态。符合这些条件的三角形称之为“最佳三角形”-With a triangular mesh contour map is the edge of the triangle with the three methods of linear interpolation to find the equivalent point, the mechanism of this method is to each triangle as a space plane, which requires each triangles three vertices with no obvious patterns of geomorphic change, it wished to put the three points closest to constitute a triangle in order to comply with the above mechanism, so that the equivalent interpolation points higher accuracy, better reflects the landscape the actual shape. Applying these criteria to the triangle known as the
- 2023-08-08 03:45:04下载
- 积分:1
-
DELPHI中的快速报表控件
DELPHI中的快速报表控件-Delphi Fast statements Control
- 2022-11-23 23:10:03下载
- 积分:1
-
一个用C编的小游戏
一个用C编的小游戏-a series of small game
- 2022-06-20 13:37:01下载
- 积分:1
-
s2go论坛精华帖 CHM
s2go论坛精华帖 CHM -s2go Forum essence TIE CHM
- 2022-04-02 04:18:29下载
- 积分:1
-
电磁场计算过程和图
电磁场计算过程和图-field calculation process and the plan
- 2022-02-21 17:05:19下载
- 积分:1