-
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件...
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有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-08-06 12:51:19下载
- 积分:1
-
用MFC做的模拟时钟
本实例采用面向对象的程序设计方法实现了一个简单的时钟控件。从CStatic类(静态控件类)派生出类CClockEx来实现时钟控件类,这样,就可以继承MFC静态控件的很多已经具备的功能和特点。
- 2022-08-20 22:20:01下载
- 积分:1
-
刘Mangxing象棋游戏,之前或之后的好处?玩游戏的投入…
刘曼星下棋,前后得利?输入玩几个游戏,输入游戏有几个标志,最后程序输出1(先有利)或0(后有利)
- 2023-07-19 09:35:03下载
- 积分:1
-
Simplified Chinese Edition 3 matrix, used to generate dot
简体中文版3矩阵,用于生成点阵字体,中英文都不需要序列号,
- 2023-03-15 20:05:04下载
- 积分:1
-
用matlab编写的雷达系统信号仿真程序,包含雷达个部分的仿真程序...
用matlab编写的雷达系统信号仿真程序,包含雷达个部分的仿真程序
- 2023-07-29 03:05:03下载
- 积分:1
-
操作系统课程设计,关于操作系统经典问题读者写者问题的演示!...
操作系统课程设计,关于操作系统经典问题读者写者问题的演示!-courses on operating system design, operating system classic problem of the readers who write the demo!
- 2022-04-09 12:41:16下载
- 积分:1
-
Comparison of sorting algorithms quicksort,heapsort, radix sort and introsort
Comparison of sorting algorithms quicksort,heapsort, radix sort and introsort-Comparison of sorting algorithms quicksort,heapsort, radix sort and introsort
- 2022-02-02 13:08:58下载
- 积分:1
-
thinkinc++(书,中文,源码),初学者必备的一本好书
thinkinc++(书,中文,源码),初学者必备的一本好书-thinkinc++ (books, Chinese, source), beginners must have a good book
- 2022-04-16 18:11:26下载
- 积分:1
-
VC数据库编程,把图片放到数据库种,初学的,有点用处
VC数据库编程,把图片放到数据库种,初学的,有点用处-VC database programming, the picture on the database species, beginner, and a bit useless
- 2022-03-02 10:00:07下载
- 积分:1
-
AT89S52单片机电子钟(含万年历、闹铃)
应用背景用于大学51单片机课程设计,数码管显示时间,设置闹铃,电子钟,显示时间、日期,秒表用于计时,用于51单片机关键技术AT89S52单片机电子钟(含万年历、闹铃、秒表)有注释,可以删除部分功能,所有功能都采用子函数,采用8位数码管显示,采用8位IO口独立式按键输入。涵盖电子钟所有内容。
- 2022-02-11 16:24:11下载
- 积分:1