摘要:
#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... 阅读全文