tf("学生信息\n");?while(p!=NULL)?{ printf("%s%s%s%s\n",p->no,p->number,p->name,p->grades); p=p->next;?}}intmain(intargc,char**argv){?score*head=0;?head=load(head);?printf("Pleaseinputtheoperationyouwanttodo:\n" "\t\tI.Insertanewrecordinaformofrecord-num()stu-numstu-namestu-score\n" "\t\tA.Appendanewrecordinaformofrecord-num()stu-numstu-namestu-score\n" "\t\tS.Seadarecordbythevalueofrecord-num\n" "\t\tD.Deletearecordbythevalueofrecord-num\n" "\t\tQ.QuittheDBsystem\n");?charc;?intflag=1;?while(flag){ //return; printf("Pleaseentertheoperationtypeyouwanttodo\n"); scanf("%c",&c); if(c>=96)c-=32; switch(c) { case'I': insert(head); break; case'A': append(head); break; case'S': search(head); break; case'D': del(head); break; case'P': show(head); break; case'Q': flag=0; break; }?}?save(head);?return0;}