摘要: 在只给<stdio.h>和<string>头文件的情况下,从下文中提取UserId=123456 https://www.cnblogs.com/ysjd UserId=123456 passwd=513920 代码如下: 阅读全文
posted @ 2017-10-14 15:08 时光淡了旧人心 阅读(4207) 评论(0) 推荐(0) 编辑
摘要: msgsnd.c文件 msgrcv.c文件 gcc msgsnd.c -o msgsnd gcc msgrcv.c -o msgrcv ipcs查看消息队列 ./msgsnd 然后 ipcs 已经传入,然后./msgrcv ipcs查看一下 取出数据 阅读全文
posted @ 2017-10-14 14:47 时光淡了旧人心 阅读(4834) 评论(0) 推荐(0) 编辑
摘要: mkfifo.c文件 file_read.c文件 file_write.c文件 gcc mkfifo.c ./a.out 生成test gcc file_read.c -o read gcc file_write.c -o write ./read和./write,效果如下: 阅读全文
posted @ 2017-10-14 14:15 时光淡了旧人心 阅读(3347) 评论(0) 推荐(0) 编辑
摘要: mkfifo.c文件 link.h文件 link.c文件 write.c文件 read.c文件 gcc mkfifo.c ./aou.t 生成 test gcc link.c write.c -o write gcc link.c read.c -o read 运行read和write,效果如下图: 阅读全文
posted @ 2017-10-14 13:56 时光淡了旧人心 阅读(1580) 评论(0) 推荐(0) 编辑