文件名称:XIAOXIDUILIE
-
所属分类:
- 标签属性:
- 上传时间:2014-11-15
-
文件大小:3.15kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
消息队列:先定义一个消息结构,包含消息类型和文本长度。在SERVER函数中,首先获得一个KEY为75的消息的描述符,然后利用do while循环来判断当消息类型为1的时候打印输出。在CLIENT函数中,先获得消息队列,然后利用for循环将消息类型从10赋值到1,发送队列,并打印输出。最后在main函数中调用这两个函数。-The message queue: define a message structure, contains the message type and the length of the text. In the SERVER function, first obtain a KEY 75 message descr iptor, and then use the do while cycle to determine when the message type is 1 when the print output. In the CLIENT function, to obtain the message queue, and then use the for loop will message type 10 assigned to 1, send queue, and print output. Finally, those two function calls in the main function.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
XIAOXIDUILIE.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.