master
13187261606 6 years ago
parent 1181f47aee
commit 871264433b

Binary file not shown.

@ -355,7 +355,7 @@ jump: while(pTemp!=NULL)
printf("姓名;%s\n",pTemp->name); printf("姓名;%s\n",pTemp->name);
printf("性别;%s\n",pTemp->sex); printf("性别;%s\n",pTemp->sex);
printf("年龄;%d\n",pTemp->age); printf("年龄;%d\n",pTemp->age);
printf("备注:%s\n",pTemp->note); printf("备注:%s\n\n",pTemp->note);
flag = 0; flag = 0;
} }
break; break;
@ -366,7 +366,7 @@ jump: while(pTemp!=NULL)
printf("姓名;%s\n",pTemp->name); printf("姓名;%s\n",pTemp->name);
printf("性别;%s\n",pTemp->sex); printf("性别;%s\n",pTemp->sex);
printf("年龄;%d\n",pTemp->age); printf("年龄;%d\n",pTemp->age);
printf("备注:%s\n",pTemp->note); printf("备注:%s\n\n",pTemp->note);
flag = 0; flag = 0;
} }
break; break;
@ -377,7 +377,7 @@ jump: while(pTemp!=NULL)
printf("姓名;%s\n",pTemp->name); printf("姓名;%s\n",pTemp->name);
printf("性别;%s\n",pTemp->sex); printf("性别;%s\n",pTemp->sex);
printf("年龄;%d\n",pTemp->age); printf("年龄;%d\n",pTemp->age);
printf("备注:%s\n",pTemp->note); printf("备注:%s\n\n",pTemp->note);
flag = 0; flag = 0;
} }
break; break;
@ -388,7 +388,7 @@ jump: while(pTemp!=NULL)
printf("姓名;%s\n",pTemp->name); printf("姓名;%s\n",pTemp->name);
printf("性别;%s\n",pTemp->sex); printf("性别;%s\n",pTemp->sex);
printf("年龄;%d\n",pTemp->age); printf("年龄;%d\n",pTemp->age);
printf("备注:%s\n",pTemp->note); printf("备注:%s\n\n",pTemp->note);
flag = 0; flag = 0;
} }
break; break;
@ -451,9 +451,9 @@ RE: pTemp=phead;
if(strcmp(s,pTemp->id)==0) if(strcmp(s,pTemp->id)==0)
{ {
printf("\t\t\t学号:%s\t\t\t修改学号:",pTemp->id); scanf("%s",pTemp->id); printf("\t\t\t学号:%s\t\t\t修改学号:",pTemp->id); scanf("%s",pTemp->id);
printf("\t\t\t姓名;%s\t\t\t修改姓名:",pTemp->name); scanf("%s",pTemp->name); printf("\t\t\t姓名;%s\t\t\t\t\t修改姓名:",pTemp->name); scanf("%s",pTemp->name);
printf("\t\t\t性别;%s\t\t\t修改性别:",pTemp->sex); scanf("%s",pTemp->sex); printf("\t\t\t性别;%s\t\t\t\t\t修改性别:",pTemp->sex); scanf("%s",pTemp->sex);
printf("\t\t\t年龄;%d\t\t\t修改年龄:",pTemp->age); scanf("%d",&pTemp->age); printf("\t\t\t年龄;%d\t\t\t\t\t修改年龄:",pTemp->age); scanf("%d",&pTemp->age);
printf("\t\t\t备注:%s\t\t\t修改备注:",pTemp->note); scanf("%s",pTemp->note); printf("\t\t\t备注:%s\t\t\t修改备注:",pTemp->note); scanf("%s",pTemp->note);
flag = 0; flag = 0;
break; break;
@ -480,7 +480,7 @@ RE: pTemp=phead;
int main() int main()
{ {
system("color F5"); system("color E5");
char x=0; char x=0;
char m[7]; char m[7];
struct student *head=NULL; struct student *head=NULL;
@ -521,8 +521,8 @@ int main()
head=Delete(); head=Delete();
break; break;
case'e': case'e':
head=Change(); head=Change();
break; break;
case'f': case'f':
search(); search();
break; break;
Loading…
Cancel
Save