登录
首页 » 其他项目 » 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 310
下载积分: 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 个回复

  • Makes itself a small Chinese character font program itself becomes smaller font...
    使自己成为一个小汉字字体程序自己变成小字体小字体程序自己变成中文程序
    2023-04-18 05:25:04下载
    积分:1
  • stock cost calculators, very useful. If you need source code, please send mail!
    股票成本计算器,很有用的.如果需要源程序,请发邮件!-stock cost calculators, very useful. If you need source code, please send mail!
    2022-07-09 11:06:35下载
    积分:1
  • 使用改进的COSTAS环实现锁相环(PLL),应用于高动态的数字化接收系统...
    使用改进的COSTAS环实现锁相环(PLL),应用于高动态的数字化接收系统-COSTAS Central improved to achieve phase-locked loop (PLL), used in high dynamic digital reception system
    2022-12-14 10:15:03下载
    积分:1
  • 对于 c# 的 CPM 代码
    此代码包含在 C# 语言中实现的关键路径方法。
    2022-02-15 22:07:32下载
    积分:1
  • 犯错
    excel做的传统工程量计算表(加入vba后能自动计算、汇总、标注说明) 1、序号根据填入的分部分项名称自动填出1~N的数值。 2、代码栏根据填入的数据自动给出同一分部分项名称序号,为汇总提供方便。 3、项目名称/计算部位栏中书写分部分项名称、计算部位。 4、计算式栏中填入加、减、乘、除、乘方等运算公式,并在计算式中可加入注明(注明要用中括号或大括号,本例中有)。 5、单位栏为分部分项的计量单位,采用下拉菜单选取,点击单位所在的单元格即出现下拉菜单(必须填写,否则不能汇总)。 6、总量为C列同类代码的工程量汇总,系统会自动计算出同类代码的工程量总量,填入同一序号的总量上单元格。 7、工程量汇总表中,只填写1~N的序号,系统会自动将工程量中的分部分项名称、单位、总量填入。 8、因1、2行已被锁住工程名称在工程名称工作表中填入。 9、序号、代码、计算表达式、总量要敲回车键方能计算 -err
    2022-01-26 06:15:01下载
    积分:1
  • 一个小小的智力游戏 里面有很多关卡 看看这个历险是怎样成为可能的 很有意思...
    一个小小的智力游戏 里面有很多关卡 看看这个历险是怎样成为可能的 很有意思 -a little intellectual game that there are many hurdles to see how this adventure is likely to become a very interesting
    2022-03-18 03:05:28下载
    积分:1
  • VB done, a VB examples of the camera so small in size.
    VB做的,一个用VB做的照相机实例,体积小.-VB done, a VB examples of the camera so small in size.
    2023-05-21 23:15:03下载
    积分:1
  • network TV types of Good Websites
    网络电视类型的好网站-network TV types of Good Websites
    2023-01-30 06:50:03下载
    积分:1
  • hdq总线的编程,代码详尽,注释清晰,程序清晰明了
    hdq总线的编程,代码详尽,注释清晰,程序清晰明了-Bus hdq programming, code and detailed, clear notes, procedures clear
    2022-09-12 11:20:02下载
    积分:1
  • graded background, in which top
    渐变背景,在窗体中从上至下依次绘制多个矩形,使它们的填充色从蓝变化到黑,就能很好地模拟出渐变效果-graded background, in which top-down windows were drawing more than rectangular, filling their color changes from blue to black. it will be able to simulate effects of graded
    2023-08-21 21:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载