-
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有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
-
实现约瑟夫(Josephu)问题,n,m,k为外部输入,并打印输出结果...
实现约瑟夫(Josephu)问题,n,m,k为外部输入,并打印输出结果-achieve Joseph (Josephu), n, m, k for external input, output and print
- 2023-08-04 11:10:03下载
- 积分:1
-
用delphi写的密码管理工具.
用delphi写的密码管理工具.-used to write the password management tool.
- 2022-04-14 10:38:16下载
- 积分:1
-
open Notepad and automatically preserve
打开记事本并自动保存-open Notepad and automatically preserve
- 2022-08-08 08:33:00下载
- 积分:1
-
解决 ecuations
这些都是一些有效的方法来解决 ecuations 和细根的每一个人,例如高斯、 高斯约旦、 高斯赛德尔、 路。
- 2023-06-28 03:30:03下载
- 积分:1
-
用易语言开发的 cad插件 。进入cad中。画线
用易语言开发的 cad插件 。进入cad中。画线-Language development with easy plug-cad. Entered in cad. Draw a line
- 2022-08-03 20:31:46下载
- 积分:1
-
GVF Snake的示例程序,matlab编写
gvf snake 范例程式,以matlab撰写-gvf snake sample program to write matlab
- 2023-04-17 14:45:03下载
- 积分:1
-
电脑鼠跑迷宫源程序,其中算法及驱动部分已改进~
电脑鼠跑迷宫源程序,其中算法及驱动部分已改进~-Computer mouse running the maze source code, which some have been improved algorithms and drive ~
- 2022-12-06 04:15:03下载
- 积分:1
-
将VC7.0和VC.NET的工程转换到VC6.0的工程,内有详细的介绍做法(自己试验后写的)...
将VC7.0和VC.NET的工程转换到VC6.0的工程,内有详细的介绍做法(自己试验后写的)-VC7.0 and VC.NET will convert the project to VC6.0 project, which has a detailed introduction of the practice (their own written tests)
- 2023-01-25 14:50:04下载
- 积分:1
-
ipx协议聊天程序
ipx协议聊天程序-ipx agreement chats the procedure
- 2023-04-03 12:25:03下载
- 积分:1