Chinaunix首页 | 论坛 | 博客
  • 博客访问: 437600
  • 博文数量: 113
  • 博客积分: 446
  • 博客等级: 下士
  • 技术积分: 1229
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-09 16:01
个人简介

Let's go!!!!!

文章分类

全部博文(113)

文章存档

2019年(5)

2018年(4)

2017年(9)

2016年(5)

2015年(39)

2014年(6)

2013年(28)

2012年(17)

发布时间: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.........【阅读全文】

阅读(871) | 评论(0) | 转发(0)

发布时间:2013-01-13 11:27:40

串的匹配#include<stdio.h>#include<string.h>#include<stdlib.h> void subStr(char *str1,char *sub,int len_sub,int start){ if(NULL==str1 || NULL==sub) return;  char *ptr; ptr=str1+start;  while(len_sub--) { *sub++ = *ptr++; } *sub='\0';}i......【阅读全文】

阅读(725) | 评论(0) | 转发(0)

发布时间: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; ......【阅读全文】

阅读(1153) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册