-
procedures purpose : to bring in a maze of arbitrary size, with a stack get out...
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有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
- 2022-07-05 03:20:50下载
- 积分:1
-
VB BMP转JPG测试源码
VB实现BMP位图格式转为JPG图像格式,不使用任何第三方控件,转换时可设置图像质量。
- 2022-02-01 23:57:38下载
- 积分:1
-
这一系统的电话号码的研究,它可以很容易地告诉你的区域…
This a system of Telephone number rearch,it can easily tell you the area of the number
- 2022-02-02 15:26:02下载
- 积分:1
-
矩阵导致小程序,对输入的矩阵求倒置后的矩阵
矩阵导致小程序,对输入的矩阵求倒置后的矩阵-Matrix led to a small program, the input of the matrix after the matrix inversion
- 2022-04-06 10:06:55下载
- 积分:1
-
C# 使用进程名禁止程序运行多次
C# 使用进程名禁止程序运行多次,
string moduleName = Process.GetCurrentProcess().MainModule.ModuleName; //获取当前活动进程的模块名称
string processName = System.IO.Path.GetFileNameWithoutExtension(moduleName);//返回指定路径字符串的文件名
Process[] processes = Process.GetProcessesByName(processName);//根据文件名创建进程资源数组
if (processes.Length > 1)//如果该数组长度大于1,说明多次运行
{
MessageBox.Show("本程序一次只能运行一个实例!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);//弹出提示信息
this.Close();//关闭当前窗体
}
- 2022-02-04 01:16:54下载
- 积分: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
-
易语言 文件完整性检测程序! 利用取文件特征的方法
易语言 文件完整性检测程序! 利用取文件特征的方法-Yi language file integrity of the testing process! Characteristics of the method used to take the file .....
- 2023-07-24 01:35:06下载
- 积分:1
-
This is a project on flight reservation system
This is a project on flight reservation system
- 2022-09-15 02:45:03下载
- 积分:1
-
主要用于排队仿真,用的是MATLAB语言,希望能和大家分享。
主要用于排队仿真,用的是MATLAB语言,希望能和大家分享。-Mainly used in queuing simulation, using the MATLAB language, want to share with you all.
- 2022-01-26 00:56:02下载
- 积分:1
-
C语言编写的,利用线性插值发进行网格值插值运算,等价于从新定义数组大小。...
C语言编写的,利用线性插值发进行网格值插值运算,等价于从新定义数组大小。-prepared by the C language, using linear interpolation for the value interpolation grid operator, is equivalent to the new definition of array size.
- 2022-02-07 15:51:13下载
- 积分:1