摘要: #includeusing namespace std;struct student{ long num; float score; struct student *next;};int n;//初始化一个链表void create(struct student **head){ struct student *p1,*p2; n = 0; p1 = p2 = new struct student; cin>>p1->num; cin>>p1->score; while (p1->num != 0 ) { n = n+1... 阅读全文
posted @ 2013-09-05 15:24 Big.Eagle 阅读(208) 评论(0) 推荐(0) 编辑