-
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有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
-
Labwindows/CVI方面的例子程序实在太少了,放上一点给大家共享
Labwindows/CVI方面的例子程序实在太少了,放上一点给大家共享-Labwindows/CVI example of the procedure is too small, place in 1:00 to share! !
- 2022-09-30 00:25:03下载
- 积分:1
-
VHDL代码 键盘扫描,数码管静态移位显示,类似于计算器显示数据...
VHDL代码 键盘扫描,数码管静态移位显示,类似于计算器显示数据-VHDL code
- 2022-06-21 23:05:03下载
- 积分:1
-
Shanghai Heilonggang mahjong source code
上海黑龙麻将源代码
-Shanghai Heilonggang mahjong source code
- 2022-03-01 13:58:57下载
- 积分:1
-
服从瑞丽分布的多普勒频移的MATLAB仿真
服从瑞丽分布的多普勒频移的MATLAB仿真-obey Ruili distribution of the Doppler frequency shift MATLAB simulation
- 2022-12-01 04:00:03下载
- 积分:1
-
macx os system specifications and development presentation
macx os system specifications and development presentation
- 2022-08-11 21:39:44下载
- 积分:1
-
PIC 18F4550 BASIC LED CODE
PIC 18F4550 BASIC LED CODE
- 2023-08-03 04:45:03下载
- 积分:1
-
一个网吧管理系统程序,用JBuilder开发,SQL为底层
一个网吧管理系统程序,用JBuilder开发,SQL为底层-an Internet cafe management system procedures, using JBuilder development, SQL to the bottom
- 2022-02-05 02:28:14下载
- 积分:1
-
FFT 算法和功能测试,已经测试通过,可以直接使用
FFT 算法和功能测试,已经测试通过,可以直接使用-FFT
- 2022-12-30 16:00:12下载
- 积分:1
-
每个人都有自己的长处,希望大家一起分享,还有,大家互相学习....
每个人都有自己的长处,希望大家一起分享,还有,大家互相学习.-Everyone has their own strengths, I hope to share with everyone, there are, everyone learn from each other.
- 2023-03-29 09:40:03下载
- 积分:1