摘要: #include<stdio.h>#include<stdlib.h>#define LEN sizeof(struct student)struct student{ int num; double score; struct student *next;};//创建一个链表struct student * create(void){ struct student *p1,*p2,*head; int n = 0; p1 = p2 = (struct student *)malloc(LEN); scanf("%d%lf",&(p1-> 阅读全文
posted @ 2012-08-25 15:14 ligang305 阅读(4412) 评论(0) 推荐(1) 编辑