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

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

于 2022-08-06 发布 文件大小:3.66 kB
0 336
下载积分: 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 个回复

  • GetMACAddress 用于获取网卡地址
    GetMACAddress 用于获取网卡地址-GetMACAddress for access to the network card address
    2023-08-21 22:15:04下载
    积分:1
  • 实现本地视频设备的数据采集和维护的主要功能。
    实现本地录像设备的数据采集与维护主要功能:视频采集,录像,播放,抓图,系统设置等功能-Achieve the local video equipment for data acquisition and maintenance of main functions: video capture, video, play, drawings, system settings and other functions
    2022-02-13 01:15:05下载
    积分:1
  • 仿真adhoc网络,文件是仿真adhoc的tcl源代码
    仿真adhoc网络,文件是仿真adhoc的tcl源代码-simulate adhoc network
    2022-04-17 12:26:00下载
    积分:1
  • DSP开发练习的极好的范例程序(经典例子程序)
    DSP开发练习的极好的范例程序(经典例子程序)-practice and the development of DSP an excellent example (classical examples of procedures)
    2023-01-03 20:25:02下载
    积分:1
  • The production of statistics commonly used in source code, with a commonly used...
    统计制作中常用的源代码,具有统计常用数据表功能-The production of statistics commonly used in source code, with a commonly used statistical data table function
    2022-05-24 14:10:06下载
    积分:1
  • 一个用Delphi写的扫雷程序源码
    一个用Delphi写的扫雷程序源码-this is a procedure source of mine by delphi!
    2022-01-25 22:28:35下载
    积分:1
  • 本程序已被本人整理到WORD文档中,编程语言为MATLAB,程序中首先利用非递归法产生滤波器系数,生成相关高斯杂波,直接对杂波信号作FFT变换,结果取模平方后除...
    本程序已被本人整理到WORD文档中,编程语言为MATLAB,程序中首先利用非递归法产生滤波器系数,生成相关高斯杂波,直接对杂波信号作FFT变换,结果取模平方后除以长度N,即可得到杂波的功率谱,设计参数皆在文档中表明。此程序已经验证是正确可执行的,并能生成图形,值得下载!- This program has been organized into WORD document I, the programming language MATLAB, the program produced the first method using non-recursive filter coefficients to generate the relevant Gaussian clutter, clutter signals directly to FFT transform, the result after the square modulus divided by the length of the N, can be obtained the power spectrum of clutter, design parameters are indicated in the document. This procedure has been verified is correct executable, and can generate the graph, it is worth to download!
    2023-06-17 19:55:03下载
    积分:1
  • I·M·Smith所著的《有限元方法编程》第三版Fortran程序
    应用背景《有限元方法编程》第三版Fortran程序,    许多关于有限元的教材通常只介绍有限元分析的原理以及实际工程问题的应用,而不并致力于产生实际数 值结果的计算机程序的构建。本书则致力干帮助读者通过有限元技术来使用为算法而设计的“构件块”。其重 点井不在于程序,而在于过程或子程序的集合。目的在于教会读者编写智能程序并使用它们。内容涉及使用有 限元来解决固体及液体问题的徽分方程、微分方程的算法实现与程序,以及在各个领域的应用。     本书结构合理,示例丰富,适用于致力于有限元研究与开发的学生以及工程技术人员,是一本不可多得的 参考书。 关键技术Fortran源自于“公式翻译”(英语:FormulaTranslation)的缩写,是一种编程语言。它是世界上最早出现的计算机高级程序设计语言,广泛应用于科学和工程计算 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-03-14 20:42:22下载
    积分:1
  • 一个数据采集的软件,可以自定义表的属性多少和名称,带有删除的功能...
    一个数据采集的软件,可以自定义表的属性多少和名称,带有删除的功能-Instance, grind grain stamp Moreton basin cavity 软 glass, you can自corner cavity barrels义Distr people begin preparing少Core extravagant, Turbulent bleed at the nose cavity删pot features
    2023-08-26 16:30:03下载
    积分:1
  • 这是用C++Builder做的一个九宫排字游戏
    这是用C++Builder做的一个九宫排字游戏-This is done using C Builder JiuGongTu typesetting of a game
    2022-03-14 05:56:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载