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

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

于 2022-01-25 发布 文件大小:53.25 kB
0 227
下载积分: 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 个回复

  • 内含微软(中国)有限公司推荐图书微软Office技巧大赛优秀作品绝佳哦
    内含微软(中国)有限公司推荐图书微软Office技巧大赛优秀作品绝佳哦- Contains Microsoft (China) the limited company to recommend the books Microsoft Office skillful big game outstanding works to be certainly good oh
    2023-03-29 22:30:04下载
    积分:1
  • Xpdf: A PDF Viewer for X
    应用背景Xpdf runs under the X Window System on UNIX, VMS, and OS/2. The non-X components (pdftops, pdftotext, etc.) also run on Win32 systems and should run on pretty much any system with a decent C++ compiler.关键技术Xpdf is an open source viewer for Portable Document Format (PDF) files. (These are also sometimes also called "Acrobat" files, from the name of Adobe"s PDF software.) The Xpdf project also includes a PDF text extractor, PDF-to-PostScript converter, and various other utilities.
    2023-03-09 18:25:03下载
    积分:1
  • Word插件官方
    资源描述Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方Word插件官方
    2022-01-22 04:40:50下载
    积分:1
  • We ah ah happy to leave the health then refuse EMU ah la home washing machine wi...
    大家啊离开的接啊快乐的健康垃圾动车组洗车机啊拉家带口拉萨角度来看-We ah ah happy to leave the health then refuse EMU ah la home washing machine with the angle of the mouth of Lhasa
    2022-03-19 23:23:42下载
    积分:1
  • 林肯实验室2008年年度报告,看看吧。不错的
    林肯实验室2008年年度报告,看看吧。不错的-Lincoln Laboratory in 2008 annual report, take a look at it. Good
    2022-08-16 10:50:47下载
    积分:1
  • 算法分析与设计课件,不错的讲义
    算法分析与设计课件,不错的讲义-algorithm analysis and design of courseware, yes handouts
    2022-11-25 05:35:03下载
    积分:1
  • 用ASP写的ASP交友系统
    用ASP写的ASP交友系统-Written by ASP system ASP Personals
    2023-03-04 12:30:04下载
    积分:1
  • 1000兆以太网交换机设备技术规范(中国标准).
    1000兆以太网交换机设备技术规范(中国标准).-1000 Ethernet switch equipment technical specifications (standard Chinese).
    2022-02-25 01:09:04下载
    积分:1
  • 工作室的篮子分析
    应用背景市场篮子分析是关联规则挖掘的具体应用,在这里分析了零售交易的篮子,以寻找可能购买的产品。分析输出形式输入 ;recomendation引擎/营销策略。 ;关联规则挖掘不能做使用SAS基础/企业指导,因此R似乎是最好的选择,在我看来。关键技术关联规则技术广泛用于零售购物篮分析,以及在其他应用程序之间找到集和属性-值对的集合之间的交往。它也可用于分类,使用规则的右手边的类标签。它甚至被用于异常检测的规则表示罕见/异常关联。
    2023-07-16 13:10:02下载
    积分:1
  • 有关网络的知识和教案
    有关网络的知识和教案-the network of knowledge and teaching plans
    2023-04-08 09:05:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载