diff --git a/课设.cpp b/课设.cpp index dd7b0be..fab2ef0 100644 --- a/课设.cpp +++ b/课设.cpp @@ -7,6 +7,7 @@ #define N 7 void read(); void save(); + int size=3; struct student { @@ -15,6 +16,7 @@ struct student int scorem,scoreq,scoreg,scorey; char ximing[20]; }stu[N],temp; + void input() { system("cls"); @@ -79,7 +81,7 @@ void paixu() for(int i=0;itm_year+1900,pt->tm_mon+1,pt->tm_mday); printf("======================²Ëµ¥=====================\n"); printf(" 1.ÊäÈë 2.²éÕÒ \n"); @@ -343,7 +334,7 @@ void menu() defen(); break; case 6: - shanchu(); + shancchu(); break; case 7: charu(); @@ -366,6 +357,7 @@ void menu() scanf("%2c",&ch2); }while(ch2=='y'); } + int main(void) { system("color f"); diff --git a/课设.exe b/课设.exe index 54ae6b3..be924fb 100644 Binary files a/课设.exe and b/课设.exe differ