-
74HC595p2C74hc138shumaguan
基于HC138和HC595驱动数码管,仿真加C语言程序(Based on HC138 and HC595 driven digital control, simulation plus C language program)
- 2013-08-12 08:55:43下载
- 积分:1
-
农夫过河问题
农夫过河问题,用C++做
一个农夫带着—只狼、一只羊和—棵白菜,身处河的南岸。他要把这些东西全部运到北岸。他面前只有一条小船,船只能容下他和—件物品,另外只有农夫才能撑船。如果农夫在场,则狼不能吃羊,羊不能吃白菜,否则狼会吃羊,羊会吃白菜,所以农夫不能留下羊和白菜自己离开,也不能留下狼和羊自己离开,而狼不吃白菜。请求出农夫将所有的东西运过河的方案。
实现上述求解的搜索过程可以采用两种不同的策略:一种广度优先搜索,另一种深度优先搜索。这里介绍在广度优先搜索方法中采用的数据结构设计。
用状态表,程序应在屏幕上得到如表3所示的结果。
表3 测试结果
步骤 状态
南岸 北岸
0 农夫 狼 羊 白菜
1 狼 白菜 农夫 羊
2 狼 农夫 白菜 羊
3 农夫 狼 羊 白菜
4 羊 农夫 狼 白菜
5 农夫 羊 狼 白菜
6 农夫 狼 羊 白菜
- 2022-01-21 03:55:16下载
- 积分:1
-
autoThreshodseg
automatic threshold segmention
- 2010-01-02 17:26:47下载
- 积分:1
-
基础的地震波正演模拟程序 seismic-forward
地球物理勘探中,基础的地震波正演模拟程序,包括五个正演程序,(高阶中心差分,高阶交错网格差分,使用标准的PML边界的正演程序)在acou文件夹下附有运行的结果。(Geophysical exploration, based on the seismic forward modeling program, including the five forward procedure, (higher-order central difference, higher order differential staggered grid, using standard PML boundaries forward procedure) in a file folder with acou results of operations.)
- 2020-06-29 00:20:02下载
- 积分:1
-
Matlab-CALL-EPANET
应用matlab 调用epanet 软件进行管网水力学计算。(Application to call Matlab epanet software pipe network hydraulic calculation.)
- 2013-04-27 10:48:13下载
- 积分:1
-
单片机发送至电脑串口通信
完成电脑与单片机通信,通过hal库,方便STM32单片机初学者(Complete the communication between computer and MCU)
- 2020-06-25 15:00:02下载
- 积分:1
-
csg
实现一个由openGL提供的基本体素构成的CSG树。要求设计有意义的物体,包括交、并、差运算。
(Realize a basic openGL voxel consisting of CSG tree. To design meaningful objects, including pay and poor computing.)
- 2020-11-23 19:19:34下载
- 积分:1
-
j_14651_NCshop
VC++超市进销存管理系统(Access)源码类别:编程源码 - C/C++授权语言:共享软件 - 简体中文应用平台:windows (VC++ supermarket inventory management system (Access) source categories: Programming source code- C/C++ license Language: Shareware- Simplified Chinese Application Platform: windows)
- 2010-12-26 22:25:12下载
- 积分:1
-
RS485
本文介绍一种利用单片机本身所提供的串行通讯口,采用自定义串行通信协议,加上总线驱动器如MAX481、MAX483、MAX485、MAX487等组合成简单的RS-485通讯网络,完成单片机间的多机通讯。(This article describes a serial communication port provided by the microcontroller itself, the custom serial communication protocols, coupled with the bus driver, such as the MAX481, MAX483, MAX485, MAX487, combined into a simple RS-485 communication network, complete single-chip between themulti-machine communication.
)
- 2012-05-03 14:51:32下载
- 积分:1
-
PhoneGap
PhoneGap.zip,方便快捷开发Android,IOS客户端的开发(PhoneGap.zip, convenient and efficient development of developing Android, IOS clients)
- 2014-02-19 10:37:55下载
- 积分:1