登录
首页 » 其他项目 » procedures purpose : to bring in a maze of arbitrary size, with a stack get out...

procedures purpose : to bring in a maze of arbitrary size, with a stack get out...

于 2022-07-05 发布 文件大小:3.66 kB
0 329
下载积分: 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上编译。-procedures purpose : to bring in 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 a

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C 中的指针
    指针变量往往是说是变量这点到另一个对象 .在一些 C 与指针和其他任务更容易执行编程任务。 A指针变量声明为 如下所示: 类型 * variable_name
    2023-03-01 20:40:04下载
    积分:1
  • 220inverter
    220V inverter,using SPWM to driver  the supply power is 24V,and with protect about overvoltage,overcurrent
    2022-10-11 05:15:02下载
    积分:1
  • file management system
    档案资料管理系统-file management system
    2022-04-21 03:11:35下载
    积分:1
  • The help files in Windows API function has about 774, divided into twelve catego...
    本帮助文件中的Windows API 函数大约有774个,共分十二大类,基本上包括了大部分的常用和非常用的Windows API 函数。-The help files in Windows API function has about 774, divided into twelve categories, basically most of the commonly used and very used to Windows API functions.
    2022-10-18 02:30:03下载
    积分:1
  • 从这个源码是转载于网站,希望对大家有所帮助
    这个源码是从其它网站上转载来的,希望对大家有所帮助--锅炉热力计算程序(c语言版)!-from this source is reproduced on other websites to, We hope to help-- the boiler thermal calculation (c language version)!
    2023-08-27 16:45:04下载
    积分:1
  • 扫雷游戏 java编写, 速度很快 界面很好
    扫雷游戏 java编写, 速度很快 界面很好-mine prepared, very fast very good interface
    2022-03-04 03:39:16下载
    积分:1
  • TC3采用俄罗斯方块博兰定义图形库的程序下(lt;图…
    TC3下程序采用俄罗斯方块Boland定义图形库(lt;图形.hgt;),将在TurboC目录之前编译egavga.bgi文件测试到包含源的目录
    2022-08-14 12:34:09下载
    积分:1
  • 调试成功的基于TI28335的异步电机VVVF控制程序
    三相交流异步电机的恒定V/F控制源代码,适用于TI的28335DSP,可在TI原装的F24x板上直接跑。适用于CCS3.3编译、调试环境,可参考向其他芯片进行移植或修改、增加控制算法,实现对三相风机、泵、传送带动力、纺织机传动等控制方面的应用。程序包括分步递进编译,分成五部分:空间矢量PWM波形发生、电流/转速测量、两相电流的PI控制、电流闭环控制、速度PI闭环控制(电流和速度双闭环控制)。其中包含全部的源码和使用说明指导文档,是学习VVVF控制过程及算法很好的教程和示例。
    2022-01-31 22:11:25下载
    积分:1
  • a good book on system verilog
    a good book on system verilog
    2022-02-05 16:11:49下载
    积分:1
  • 这是 关于tsp问题的原码。 请各位大虾指正。谢谢,
    这是 关于tsp问题的原码。 请各位大虾指正。谢谢, -on tsp This is the original code. Please correct me prawns. Thank you.
    2022-02-04 01:42:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载