|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#include "mysyslib.h"
|
|
|
|
|
|
|
|
|
|
int mainMenu(ss *stu) {
|
|
|
|
|
char out[6][8] = {"input","delete","select","order","output","quit"};
|
|
|
|
|
char out[6][8] = {"input","delete","Modify","order","output","quit"};
|
|
|
|
|
for(int i=1;i<7;i++){
|
|
|
|
|
for(int j=0;j<30;j++){
|
|
|
|
|
printf(" ");
|
|
|
|
@ -20,7 +20,7 @@ int mainMenu(ss *stu) {
|
|
|
|
|
cancel(stu); //删除学生信息
|
|
|
|
|
break;
|
|
|
|
|
case 3:
|
|
|
|
|
printf("You are trying to Selete info\n");
|
|
|
|
|
printf("You are trying to Modify info\n");
|
|
|
|
|
ModifyInfo(stu); //修改学生信息
|
|
|
|
|
break;
|
|
|
|
|
case 4:
|
|
|
|
@ -38,4 +38,4 @@ int mainMenu(ss *stu) {
|
|
|
|
|
printf("Wrong input\n");
|
|
|
|
|
}
|
|
|
|
|
return (ipt==6)?1:0;
|
|
|
|
|
}
|
|
|
|
|
}
|