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

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

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

  • Linux distributions contain a lot of software development tools. Many of them fo...
    Linux的发行版中包含了很多软件开发工具. 它们中的很多是用于 C 和 C++应用程序开发的. 本文介绍了在 Linux 下能用于 C 应用程序开发和调试的工具. 本文的主旨是介绍如何在 Linux 下使用 C 编译器和其他 C 编程工具, 而非 C 语言编程的教程. -Linux distributions contain a lot of software development tools. Many of them for C and C++ application development. In this paper, can be used in C under Linux application development and debugging tools. The main thrust of this paper is to introduce the Linux how to use C compiler and other C programming tools, rather than the C programming language tutorial.
    2022-02-03 08:16:31下载
    积分:1
  • 停车场问题很好用的哦
    停车场问题很好用的哦-car park with a good question um
    2023-06-09 10:10:04下载
    积分:1
  • 一则恐怖故事,有些地方很吓人,但是很有意思的
    一则恐怖故事,有些地方很吓人,但是很有意思的-a horror story, in some places, very scary, but very interesting
    2022-01-30 17:34:25下载
    积分:1
  • 基于smo算法的支持向量机(SVM)方法的C++实现,是模式识别技术中经典的算法....
    基于smo算法的支持向量机(SVM)方法的C++实现,是模式识别技术中经典的算法.-algorithm based on the Support Vector Machine (SVM) methods of achieving C, Technology is the classic pattern recognition algorithm.
    2023-01-14 09:05:03下载
    积分:1
  • 是基于部分地方的ADO是鲍勃AOK(一个简单的ADO教程)的…
    This article is based in part on Bob Place s ADO is AOK (a simple ADO tutorial). Wrapper Usage This is consist of 2 classes. CDyndb : This Class manages connections and recordsets. Recordsets are organized as linked list (CList) and you can access them using their ids. CDynRec : This class is the node to populate for each recordsets. ADO封装器类 这篇文章一部分基于Bob Place的《ADO is AOK》 (简单的ADO指导) 。 包裹的用法 由2个类组成。 类CDyndb: 这个类别管理连接和记录集。记录集是连接起来的记录的集合,你可以通过他们的ID访问他们。 类CDynRec: 这个类别存放记录集的代码。-This article is based in part on Bob Place s ADO is AOK (a simple ADO tutorial). Wrapper Usage This is consist of 2 classes. CDyndb : This Class manages connections and recordsets. Recordsets are organized as linked list (CList) and you can access them using their ids. CDynRec : This class is the node to populate for each recordsets.
    2022-02-15 10:36:28下载
    积分:1
  • design software engineering graduates
    软件工程的设计毕业-design software engineering graduates
    2022-06-16 19:12:20下载
    积分:1
  • 很不错的UNIX内幕介绍,很值得一看!(分成32个
    很不错的UNIX内幕介绍,很值得一看!(分成32个文档)-very good UNIX insider, is an eye-catcher! (Divided into 32 files)
    2022-02-25 20:00:21下载
    积分:1
  • 机器学习实践 英
    机器学习实战 Machine Learning In ActionBy Peter Harringthon本书前两部分主要探讨监督学习。本书的前七章主要研究分类算法,第 2 章讲述最简单的分类算法:k - 近邻算法,第 3 章引入决策树,第4 章讨论如何使用概率论建立分类器。第 5 章讨论 Logistic 回归。 第 6章介绍支持向量机,第7 章介绍元算法 AdaBoost
    2023-08-20 10:20:04下载
    积分:1
  • 计算圆周率 Pi (π)值, 精确到小数点后 10000 位 只需要 30 多句代码!...
    计算圆周率 Pi (π)值, 精确到小数点后 10000 位 只需要 30 多句代码!-Pi calculated pi () values, accurate to 10,000 decimal places only need more than 30 sentence code!
    2023-04-07 15:35:03下载
    积分:1
  • 残缺数据的论名次及评委水平的评判与逆判
    残缺数据的论文名次及评委水平的评判与逆判-Incomplete data, the level of paper finish and the judges judged and inverse sub-
    2022-01-25 15:48:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载