- 博客(6)
- 收藏
- 关注
原创 面向简历
多线程编程 C语言实现多线程; VxWorks实现多线程; socket编程 基于TCP/UDP的群聊、C语言实现等等; VxWorks操作系统 vxworks启动线程任务的api接口 vxworks启动线程任务的api接口和linux有所不同,vxworks采用的是taskSpawn。 taskSpawn taskSpawn创建了任务之后就进入运行...
2019-12-24 00:13:43 606
原创 能够完成开启两个线程分别来启动两个服务器,收到数据后发给特定的客户端
#include<stdio.h> #include<string.h> #include<sys/types.h> #include<unistd.h> #include<ctype.h> #include<arpa/inet.h> #include <pthread.h> #include <stdli...
2019-12-23 01:55:27 421
原创 socketServer1
#include<stdio.h> #include<string.h> #include<sys/types.h> #include<unistd.h> #include<ctype.h> #include<arpa/inet.h> // =========================================...
2019-12-21 12:18:36 306
原创 socketServer
#include<stdio.h> #include<string.h> #include<sys/types.h> #include<unistd.h> #include<ctype.h> #include<arpa/inet.h> // =========================================...
2019-12-21 12:17:43 249
原创 C语言中系统自带字符串处理函数
string.h头文件中: /** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the mingw-w64 runtime package. * No warranty is given; refer to the file DISCLA...
2019-12-12 00:24:03 1009
原创 scanf() 总结
目录 scanf() %c的字符输入格式 问题 解决方法(任选其一) %d的字符输入格式 %s的字符输入格式 scanf() scanf是从标准输入缓冲区中读取输入的数据。 scanf格式输入时要求输入格式与格式控制符中的完全一样,比如: scanf("abcd%c",&ch);输入时必须输入abcde,ch得到的值为e; scanf("%d%d",&x,&a...
2019-12-05 23:38:06 383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人