-
关于猎人过河问题 要解决这个问题就要使过河时载两个过河,返回时尽量只有一个回来。用一个字符串数组来存猎人,狼,羊,白菜;下标依次为0,1,2,3;但他们都有河这...
关于猎人过河问题 要解决这个问题就要使过河时载两个过河,返回时尽量只有一个回来。用一个字符串数组来存猎人,狼,羊,白菜;下标依次为0,1,2,3;但他们都有河这边和那边两种状态;为方便则定义一个结构,只含一个int型变量n;当在河这边时n设为0;在河那边时n设为1。由于每次过河与返回都要考虑狼能否吃羊或羊能否吃白菜;则需要一个函数来判断每次选择是否满足条件。-Hunters across the river on the issues to resolve this issue so we should cross the river when the two set out across the river to return to when there is only one back as far as possible. Using a string array to keep hunters, the wolf, sheep, and cabbage subscript followed by 0,1,2,3 but they have a river here and there two states To facilitate the definition of a structure containing only an int variable n When in the river here when n is set to 0 in the river when n is set to one side. Due to cross the river and return each time to consider whether the wolf can eat the sheep吃羊or cabbage you need a function to determine each choose whether or not to meet the conditions.
- 2022-09-15 08:35:04下载
- 积分:1
-
operating systems experimental procedure c os experimental process scheduling wr...
操作系统实验程序 c++ os实验进程调度c++环境写的,不过会c语言和操作系统知识都能看懂-operating systems experimental procedure c os experimental process scheduling write c environment, but will c language and knowledge of the operating system can understand
- 2022-02-20 08:47:33下载
- 积分:1
-
进程管理
程序被开发作为操作系统工作,本科计算机科学的问题。
程序模拟两个进程调度程序: 第一份工作更短和轮叫调度。
- 2023-08-04 01:45:03下载
- 积分:1
-
shablon for universla server wich can work with DB, wtite log file, and work wit...
shablon for universla server wich can work with DB, wtite log file, and work with multiple clients.
- 2023-02-11 10:40:05下载
- 积分:1
-
简单的桶式排序,基于VC6.0,用数组实现的,有充足的注释。
简单的桶式排序,基于VC6.0,用数组实现的,有充足的注释。-LSDsort
- 2022-01-30 21:49:28下载
- 积分:1
-
KDTree最亲密的邻居搜索
这是一个带有最亲密的邻居搜索的 KD 树示例。
- 2023-03-28 12:40:03下载
- 积分:1
-
世嘉演示
世嘉编程。
小小的游戏演示。
为 M68000 编写 GNU C 编译器中 (主要世嘉 CPU)。
在释放文件夹-ZZG.bin-世嘉成因游戏机,二进制文件可能太用世嘉模拟器 (如氏族)。
在源文件夹-全 c-言和 utils。
图形资源库的素材和位置映射。
- 2022-03-25 08:28:04下载
- 积分:1
-
in VC6.0 platform. From this program can understand C++ virtual function of the...
在VC6.0平台实现。从本程序可以了解到C++虚函数的实现方法。是COM+技术中vtable虚函数表的基础实现。-in VC6.0 platform. From this program can understand C++ virtual function of the method. COM technology is the virtual function table vtable the basis of achievement.
- 2022-03-15 06:24:28下载
- 积分:1
-
在控制台/console程序中使用MFC的例子
在控制台/console程序中使用MFC的例子-A example which uses MFC in console program
- 2022-02-16 04:08:26下载
- 积分:1
-
运动控制卡应用事例程序,对编程人员很方便。采用动态连接库方法...
运动控制卡应用事例程序,对编程人员很方便。采用动态连接库方法-Control card application software
- 2022-06-19 19:57:11下载
- 积分:1