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