guitusaipao

所属分类:其他智力游戏
开发工具:Visual C++
文件大小:1KB
下载次数:65
上传日期:2006-04-13 22:05:33
上 传 者管理员
说明:  编写一个程序生成两个线程(进程)模拟龟兔赛跑。 1、兔子进程优先级高,因而跑的快,但兔子进程随机发生一些睡眠。 2、乌龟进程优先级低,因而跑的慢,但乌龟进程不发生睡眠。 3、程序应能用动画方式显示龟兔赛跑的进程。 源程序如下:(我在vc6.0调试通过)
(procedures for the preparation of a generation two threads (processes) simulation hand. 1, rabbits process high priority and thus run faster, but the rabbit random process some sleep. 2, turtles low-priority process, which run slowly, but the process does not occur turtles sleep. 3, procedures should be spent shown the race between animation process. Source : (I vc6.0 through debugging))

文件列表:
guitusaipao.txt (2109, 2006-04-13)

近期下载者

相关文件


收藏者