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

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

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

  • 残缺数据的论文名次及评委水平的评判与逆判
    残缺数据的论文名次及评委水平的评判与逆判-Incomplete data, the level of paper finish and the judges judged and inverse sub-
    2022-01-25 15:48:02下载
    积分:1
  • 派克曼源程序,c 语言开发
    派克曼源程序,c 语言开发-PacMen source, c-language development
    2022-02-15 00:25:48下载
    积分:1
  • VHD Design 8 adder design of sub
    VHD设计实例8位加法器的设计分频电路数字秒表的设计-VHD Design 8 adder design of sub-frequency circuit design of digital stopwatch
    2022-03-11 01:23:24下载
    积分:1
  • fpga mp3
    fpga mp3
    2022-01-25 18:23:31下载
    积分:1
  • 这是一个用C语言做的模仿时钟走动的例子。实现了时分秒的走动,并可以定时。...
    这是一个用C语言做的模仿时钟走动的例子。实现了时分秒的走动,并可以定时。-This is a C language to imitate the clock running examples. Minutes achieved at the walk, and can regularly.
    2022-07-24 09:22:05下载
    积分:1
  • 2006
    2006-9-1_xx省移动公司考试试题库 有答案,-2006-9-1_xx Provincial Mobile Library has the answer examination papers,
    2022-03-16 00:52:20下载
    积分:1
  • GPRS(General Packet Radio Service)是通用分组无线业务的简称。GPRS是GSM Phase2.1规范实现的内容之一,能提供比现有...
    GPRS(General Packet Radio Service)是通用分组无线业务的简称。GPRS是GSM Phase2.1规范实现的内容之一,能提供比现有GSM网9.6kbit/s更高的数据率。GPRS采用与GSM 相同的频段、频带宽度、突发结构、无线调制标准、跳频规则以及相同的TDMA帧结构。因此,在GSM系统的基础上构建GPRS系统时,GSM系统中的绝大部分部件都不需要作硬件改动,只需作软件升级。-GPRS (General Packet Radio Service) is a General Packet Radio Service abbreviation. GPRS GSM Phase2.1 norms to achieve one of the elements that can provide more than the existing GSM network 9.6kbit/s higher data rate. GSM and GPRS using the same frequency and bandwidth, unexpected structure, the wireless standard modulation, frequency hopping and the same rules TDMA frame structure. Therefore, in the GSM system builds on the GPRS system, the GSM system of most components do not need to make hardware changes, only for software upgrades.
    2022-10-21 03:00:04下载
    积分:1
  • windows程序设计实例
    windows程序设计实例-windows programming examples
    2022-08-13 13:28:36下载
    积分:1
  • 完全BIOS手册
    完全BIOS手册-completely manual BIOS
    2023-05-04 09:55:03下载
    积分:1
  • TrapServer implementation trap information
    TrapServer执行trap信息-TrapServer implementation trap information
    2022-08-13 01:32:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载