void Manager(FILE *file, int count) { char MenuNum; while (1) { MenuView(); MenuNum = getch(); puts(""); switch (MenuNum) { case '1': InputStudent(file, count); break; case '2': ModifyStudent(file, count); break; case '3': DeleteStudent(file, count); break; case '4': PrintStudent(file, count); break; case '5': FilePrint(file, count); break; case '6': exit(1); default: printf("잘못된 입력 입니다!\n"); printf("다시 입력해주세요\n"); } } }
int main() { struct Student st; InputStudent(); //对结构体变量输入; OutputStudent();//对结构体变量输出; return 0; }