-
jumping_the_queue
The beginning of a winter break near Spring Festival is always the beginning of a peak period of transportation. If you have ever tried to get a train ticket at that time, you must have witnessed the endless queues in front of every ticket box window. If a guy has seen his friend in a queue, then it is very much likely that this lucky guy might go straight to his friend and ask for a favor. This is called "jumping the queue". It is unfair to the rest of the people in the line, but, it is life. Your task is to write a program that simulates such a queue with people jumping in every now and then, assume that, if one in the queue has several friends asking for favors, he would arrange their requests in a queue of his own(The beginning of a winter break near Spring Festival is always the beginning of a peak perio d of transportation. If you have ever tried to ge not a train ticket at that time. you must have witnessed the endless queues in fr ont of every ticket box window. If a guy has seen h is friend in a queue, then it is very much likely that this lucky guy mi ght go straight to his friend and ask for a favor. This is called "jumping the queue." It is unfair to the rest of the people in the line, but, it is life. Your task is to write a program that si mulates such a queue with people jumping in ever y now and then, assume that, if one in the queue has several friends asking az r favors. he would arrange their requests in a queue of his own)
- 2006-11-04 20:29:57下载
- 积分:1
-
C# 收发短信例子源码下载(SMS短信二次开发)
C# 收发短信例子源码下载(SMS短信二次开发)
- 2015-05-20下载
- 积分:1
-
zxing-master.zip.download
一个二维码的扫描插件,里面有很多实际的例子,能够简便开发(A little thing for IOS QRcode development)
- 2014-08-08 14:39:08下载
- 积分:1
-
1
说明: 大一时候学的第一个关于vc++的知识点,虽然很容易,但也是基础。(The first leaning skill about vc++.)
- 2015-11-07 21:14:53下载
- 积分:1
-
OS_projectC_Mutex
You are asked to design and implement a simulator for university life where lecturers provide lectures (credits) and students attend lectures (credits) to graduate. This simulator uses a bounded circular buffer shared by lecturers and students. Lecturers are concurrently providing lecturers and placing their lecturers in JCU (shared buffer) and students are concurrently taking lectures from JCU to graduate.
The purpose of this assignment is to give you some "hands-on" experience with concurrent processes, semaphores, and shared memory. You need to use the modules you practiced in week 6 and 8 labs (Prac 5 and Prac 6). You need semaphores for mutual exclusion and synchronization (studied in week 6 prac) and a shared buffer for shared memory IPC (studied in week 8 prac).
- 2009-10-31 16:09:02下载
- 积分:1
-
Listes-chaines
If you have not registered and register to download this
- 2014-12-22 22:59:26下载
- 积分:1
-
tshark
tshark调用,包括tshark相关的dll,lib文件等内容,通过填写命令行,实现对数据包的操作(tshark calls , including content tshark related dll, lib files, etc. , by filling out the command line , to achieve packet operation)
- 2014-08-07 11:48:55下载
- 积分:1
-
实现短信息发送接收,实现GPRSPPP连接测试
实现短信息发送接收,实现GPRSPPP连接测试-Realize short message to send to receive, realize GPRSPPP connectivity test
- 2022-07-23 21:43:27下载
- 积分:1
-
模拟数据链路层的实现
采用 go back n 的方案,进行差错控制
vc6.0...
模拟数据链路层的实现
采用 go back n 的方案,进行差错控制
vc6.0-implement the data link protocol
of "go back n"
- 2022-03-02 19:51:00下载
- 积分:1
-
二级指针用法
说明: 二级指针做函数输入的三种内存模型。通过形参改变实参的值必须经过地址传递。(The third memory model in which the secondary pointer acts as function input. Changing the value of an argument by a parameter must be passed through the address.)
- 2020-06-18 08:20:02下载
- 积分:1