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

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

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

  • 2004
    2004--黑客防线-精华奉献本(攻册-2004-- hackers line-dedication of the best (offensive List
    2022-04-10 18:00:04下载
    积分:1
  • Probability under the Importation of Shannon coding, and then output the necessa...
    根据输入的概率进行香农编码,然后输出必要的参数和编码的结果。其中有嵌套程序。-Probability under the Importation of Shannon coding, and then output the necessary parameters and the coding results. Which have nested procedures.
    2022-05-19 17:28:34下载
    积分:1
  • sybam OS 开发搭建vc6下的开发环境
    sybam OS 开发搭建vc6下的开发环境-the development of structures sybam OS development environment under vc6
    2022-02-25 23:26:44下载
    积分:1
  • 差分载波定位
    差分载波定位 -Differential carrier positioning
    2022-06-15 15:54:46下载
    积分:1
  • 全屏显示
    全屏显示-Full screen display
    2023-01-21 12:35:03下载
    积分:1
  • Sumatra PDF轻量级PDF阅读器提供源码下载
    应用背景Sumatra PDF最新版本支持打开PDF, ePub, MOBI, XPS, DjVu, CHM, CBZ 和 CBR 格式关键技术 Sumatra PDF 由下列两个函数库组成:MuPDF - PDF函数库,Poppler - PDF函数库。 Sumatra PDF的设计风格极简单。软件的安装档案体积小,只有大约1MB,比起Adobe Reader的安装档案27.5MB小很多,启动快。最新版本(1.9)拥有63种语言界面,其携带版又分两个可执行档SumatraPDF-no-MuPDF.exe(1.7M)及SumatraPDF.exe(4.24M)。在PortableApps网站上,也有提供可携带版的Sumatra PDF,让使用者可以将它存在USB优盘、iPod、可移动硬盘、CD上,方便使用。
    2023-08-06 00:05:06下载
    积分:1
  • 边境 Canni
    耳朵 检测, 适当 创建的步骤 边缘 检测 这种模式, 很多的改进 可以作 但这是 最好的解决办法 此数据库.
    2023-05-02 01:40:05下载
    积分:1
  • C language commonly used algorithm Set
    C 语言常用算法集-C language commonly used algorithm Set
    2022-03-26 00:01:55下载
    积分:1
  • socket sdfsd sdfsdf sdfsdf sdfsd
    socket sdfsd sdfsdf sdfsd-socket sdfsd sdfsdf sdfsdf sdfsd
    2022-04-12 23:03:04下载
    积分:1
  • API declare
    VB显示ani图标的使用功能,VB显示ani图标的使用功能-API declare
    2022-11-14 21:45:03下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载