如果调试,请告诉我,你的修正后的结果啊
热心网友
已经改好了, struct No_sort *insert(struct No_sort *head struct No_sort *in_num) /* struct No_sort *head *in_num */; 分号??? { struct No_sort *p0,*p1,*p2; p1=head;p0=in_num; if(head==NULL) { head=p0;p0-next=NULL; } p0-next??是-? p0—next else {while((p0-nump1-num)&&(p1-next!=NULL)) {p2=p1;p1=p1-next;} if(p0-numnum) { if(head==p1) head=p0; else {p2-next=p0; p0-next=p1; } 这少一个} else {p1-next=p0;p0-next=NULL;}}。