登录
首页 » 文档处理 » 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~...

输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~...

于 2022-01-25 发布 文件大小:53.25 kB
0 230
下载积分: 2 下载次数: 1

代码说明:

输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 52Asp.Net同学录新版Ver0515(全源码提供).rar
    52Asp.Net同学录新版Ver0515(全源码提供).rar-Classmates 52Asp.Net new Ver0515 (the entire source code provided). Rar
    2023-07-27 17:05:06下载
    积分:1
  • PDA算法仿真Matlab
    PDA算法仿真Matlab -PDA algorithm Matlab simulation
    2022-02-14 01:34:27下载
    积分:1
  • PPT转图片
    应用背景将幻灯片转换成图片的需求很广!办公自动化编程,提供源码实例!提高编程水平,对于工作需求和学习编程的人都是一种宝贵资源关键技术办公自动化编程,使用com组建编程实现文件的自动话编程以提高对办公稳当的操作性
    2022-08-12 19:59:47下载
    积分:1
  • huffman编码实现
    huffman编码实现-Huffman Coding
    2022-08-10 07:02:19下载
    积分:1
  • DirectX中文手册
    DirectX中文手册-DirectX Chinese Manual
    2022-05-18 13:48:05下载
    积分:1
  • N*N的陀螺方阵存入一个二维数
    N*N的陀螺方阵存入一个二维数-N* N s top two-dimensional matrix into a few
    2023-07-25 01:00:04下载
    积分:1
  • 序列模式挖掘 prefixspan的算法文档,非常经典,值得一看
    序列模式挖掘 prefixspan的算法文档,非常经典,值得一看-Sequential pattern mining algorithm PrefixSpan documents, very classic, worth a visit
    2022-05-24 15:09:51下载
    积分:1
  • 一个实现高精度乘法与加法的源代码.
    一个实现高精度乘法与加法的源代码.-a precision multiplication and addition to the source code.
    2022-03-16 13:34:35下载
    积分:1
  • Delphi函数清单
    名称                        类型         说明 ---------------------------------------------------------------------------------- Abort                       函数         引起放弃的意外处理 Abs                         函数         绝对值函数 AddExitProc                 函数         将一过程添加到运行时库的结束过程表中 Addr                &n
    2022-02-01 15:23:25下载
    积分:1
  • 三个数最大的书的问题。
    三个数最大的书的问题。-three of the largest number of the problem.
    2022-03-26 10:39:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载