摘要: 对动态单向链表进行建立、输出、查找、插入、删除、及释放操作 1 #include<stdio.h> 2 #include<stdlib.h> 3 //建立动态单向链表,结点类型; 4 typedef struct student{ 5 int no; 6 int score; 7 struct student *next; 8 }; 9 //创建一个链表 10 struct student *head; 11 struct student *creat() 12 { 13 struct student *p,*q; 14 int n, i; 15 printf(&quo 阅读全文
posted @ 2011-05-22 00:15 左手心_疼 阅读(369) 评论(1) 推荐(1) 编辑