void sc(txl *p){ while(p->next!=NULL) { p=p->next; cout<<"姓名为:"<<endl<<(p->name)<<endl; cout<<"电话为:"<<endl<<(p->number)<<endl; cout<<"学号为:"<<endl<<(p->xh)<<endl; }}这是我的程序,谢谢,帮忙看一下,很急!