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

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

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

  • 面向对象编程指导,系统阐述oop的内涵, 对初学者很有帮助...
    面向对象编程指导,系统阐述oop的内涵, 对初学者很有帮助-object-oriented programming guide, the system described oop connotation, very useful for beginners
    2022-04-18 21:29:36下载
    积分:1
  • delphi教程
    delphi教程-delphi tutorial
    2022-07-02 08:43:59下载
    积分:1
  • 功能界面漂亮的带宽使用量监视器
    功能界面漂亮的带宽使用量监视器-pretty functional interface bandwidth usage monitors
    2022-06-19 19:16:10下载
    积分:1
  • several C program design
    几个C++程序设计实例-several C program design
    2022-07-24 14:47:26下载
    积分:1
  • three experimental LAN network of comprehensive experiment you can refer to the...
    实验三 局域网组网的综合实验 你可以参考以下了,帮助你完成实验!-three experimental LAN network of comprehensive experiment you can refer to the following, to help you complete the experiment!
    2022-06-12 18:15:54下载
    积分:1
  • section of html code
    一段html代码-section of html code
    2022-03-07 18:46:29下载
    积分:1
  • Visual C++ 面向对象与可视化程序设计习题解析与编程实例 p83页 3题答案...
    Visual C++ 面向对象与可视化程序设计习题解析与编程实例 p83页 3题答案-vc++ answer for book p83
    2022-06-11 15:31:17下载
    积分:1
  • 编程语言,最基本的元素,和指针,使用和范围…
    本章将介绍C++编程语言的最基本的元素,以及C++的指针、引用和作用域。在第3章和第4章,将介绍C++的类和面向对象编程。在你使用微软基础类库(Microsoft Foundation Class Library,MFC)进行Windows编程时,你需要所有这些知识。 C++是一种复杂的语言,它的许多元素非常抽象。它也是一个庞大的语言,为专业编程而设计。本书的重点是使用Visual C++语言来利用MFC编写Windows程序,因此没有深入地讨论C++语言。 MFC是构造于原始C++之上的应用程序框架,它提供了一个Windows应用程序工作的基础,一个可以向内添入自己代码的框架。这个框架提供了绝大多数Windows特征――菜单、工具栏、对话框、控件和滚动条。它也提供使开发者能相对容易的将数据写入文件、打印数据等机制。这个框架的部件是C++的类,这些类表示了应用程序的组件,例如应用程序的主窗口、它的对话框、字符串、如矩形和点的图像对象,甚至应用程序本身。因此,为了使用Visual C++编写Windows程序,你需要知道足够的C++知识来利用MFC。 -C programming language, the most basic elements, and C pointers, use and scope. In Chapter 3 and Chapter 4, will introduce the class C and object-oriented programming. Your use of Microsoft Foundation Class Library (Microsoft Foundation Class Library, MFC) for Windows programming, you need all knowledge. C is a complex language, and many of its elements is very abstract. It is a huge language, as a professional programming and design. The book focuses on the use of language Visual C MFC prepared to use Win
    2023-09-08 16:30:02下载
    积分: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
  • 分形学编程 c
    分形学编程 c- A minute geometry programs c
    2022-03-03 21:16:49下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载