Let's go!!!!!
发布时间:2013-01-21 17:47:17
//server.c#include<stdio.h>#include<stdlib.h>#include<unistd.h>#include<sys/socket.h>#include<string.h>#include<sys/types.h>#include<netinet/in.h>#include<netdb.h>#include<errno.h>#define exit_err(str) do{perror(str);exit(1);}while(0);#define port 5555int main(){struct.........【阅读全文】
发布时间:2013-01-01 10:39:23
//链队列 #include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct{ char name[10]; int age; }QElemType; struct Qnote{ QElemType data; struct Qnote *next; }; typedef struct Qnote Note; typedef struct{ Note *front; //队头指针 Note *rear; //队尾指针 }LinkQueue; ......【阅读全文】