会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ightningmcqueen
博客园
首页
新随笔
联系
订阅
管理
2022年9月14日
链表——头标法插入
摘要: #include<stdio.h> #include<stdlib.h> struct Test { int data; struct Test* next; }; void printList(struct Test* head) { struct Test* point; point = hea
阅读全文
posted @ 2022-09-14 17:19 信号编程好难
阅读(31)
评论(0)
推荐(0)
2022年9月10日
Linux 网络编程 实现双方通信
摘要: //服务端 #include <stdio.h>#include <stdlib.h>#include <sys/types.h> #include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <string
阅读全文
posted @ 2022-09-10 02:22 信号编程好难
阅读(67)
评论(0)
推荐(0)
2022年9月7日
简陋的服务端代码
摘要: #include<stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> //#include<linux/in.h> #include <netinet/in.h> #include <arpa/
阅读全文
posted @ 2022-09-07 00:51 信号编程好难
阅读(37)
评论(0)
推荐(0)
2022年9月6日
linux线程同步简单示例
摘要: #include<stdio.h> #include<pthread.h> #include<stdlib.h> //int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(vo
阅读全文
posted @ 2022-09-06 03:51 信号编程好难
阅读(56)
评论(0)
推荐(0)
2022年9月5日
共享内存和信号量
摘要: 接受端 #include<stdio.h> #include<fcntl.h> #include<unistd.h> #include<signal.h> #include<stdlib.h> #include<sys/shm.h> #include<sys/types.h> #include<sy
阅读全文
posted @ 2022-09-05 15:55 信号编程好难
阅读(70)
评论(0)
推荐(0)
公告