zeof(struct student_info),counter,"student_info.dat");Р?SaveInt(&counter,sizeof(counter),1,"counter.dat");Р}Рvoid view()Р{Р?int i,num;Р printf("请输入需要游览的学生信息的学号:");Р scanf("%d",&num);Р getchar();Р if((i=NumExist(student,num))==-1)Р {Р printf("不存在该学号,按回车键返回...");Р getchar();Р system("cls");Р return;Р }Р ViewInfo(&student[i]);Р printf("\n按回车键返回...");Р getchar();Р system("cls");Р return;Р}Рvoid xiugai()Р{Р?int i,num;Р?char YN,select;Р?printf("请输入需要修改的学生信息的学号:");Р?scanf("%d",&num);Р?getchar();Р?if((i=NumExist(student,num))==-1)Р?{Р printf("不存在该学号,按回车键返回...");Р getchar();Р system("cls");Р return;Р?}Р?ViewInfo(&student[i]);Р?printf("是否要修改?(Y/N):");Р?scanf("%c",&YN);Р?getchar();Р?if(YN !='Y'&& YN !='y')Р?{Р printf("修改取消.");Р getchar();Р system("cls");Р return;Р?}Р system("cls");Р printf("1.学号\n");