随笔分类 - c
摘要:#include <sys/socket.h> #include <sys/wait.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/epoll.h> #include <sys/sendfile.h> #inclu
阅读全文
摘要://插入排序 int arr[]={1,3,0,10,19,17,16,16,20,9,2,8,7,4,6,30,5}; int point=1,tem=0;//取下标为1的元素出队 int len=sizeof(arr)/sizeof(int); for(int i=0;i<len-1;i++){
阅读全文
摘要:void addNode(NODE* pNode){ enum pflag flag; if(root==NULL){ root=pNode; return; } NODE* temp=root; NODE* proot=null; while(true){ if(temp->value>pNode-...
阅读全文
摘要:/***********编译时要链接 -l dl 库************/#include #include #include #include"person.h" #include #include #include int main(){ typedef int (*SELECT)(PERSON*); typedef void (*ADD)(int ,PERSON*); voi...
阅读全文

浙公网安备 33010602011771号