难得住寂寞的人才能笑到最后。。。

只要敲门才会有回音,才有可能走进去!
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2008年11月28日

摘要: #include #include #include #include #define NULL 0 struct student { char name[10]; int ID; int age; int tel; struct student *next; }; struct student *build(struct student *head,int n); struct s... 阅读全文

posted @ 2008-11-28 21:30 xum 阅读(106) 评论(0) 推荐(0)

摘要: #include"xumin.h" struct student *build(struct student *head,int n) { int i; struct student *p1; p1 = (struct student*)malloc(sizeof(struct student)); printf("输入name : "); scanf("%s",p1->name); ... 阅读全文

posted @ 2008-11-28 21:30 xum 阅读(136) 评论(0) 推荐(0)

摘要: #include"xumin.h" //#include void main() { int n; int i; struct student *head = NULL; printf("请问要输入几个ID?\n"); scanf("%d",&n); // int isdigit(int n); // if((isdigit(n))==1) if(n>0) { build(hea... 阅读全文

posted @ 2008-11-28 21:29 xum 阅读(104) 评论(0) 推荐(0)

摘要: #include void inserter( int a[], int size ); void main() { int i; int array[] = {1,2,5,14,69,3,6}; int len = sizeof( array )/sizeof( int ); cout = 0 && inserter < a[index] ) // 排序过程 { a[inde... 阅读全文

posted @ 2008-11-28 21:13 xum 阅读(221) 评论(0) 推荐(0)

摘要: #include void isort( int a[], int left, int right ); void main() { int i; int array[] = { 2, 5, 6, 10, 21, 3 }; int len = sizeof( array )/sizeof( int ); // 求数组长度 cout pivot ) //选取右边大于pivot 的值 ... 阅读全文

posted @ 2008-11-28 21:12 xum 阅读(400) 评论(0) 推荐(0)