diff --git a/gmon1.out b/gmon001.out similarity index 100% rename from gmon1.out rename to gmon001.out diff --git a/学生信息.txt b/学生信息.txt new file mode 100644 index 0000000..c11f798 Binary files /dev/null and b/学生信息.txt differ diff --git a/学生信息1.txt b/学生信息1.txt deleted file mode 100644 index e69de29..0000000 diff --git a/机房机位预订系统1.cpp b/机房机位预订系统001.cpp similarity index 96% rename from 机房机位预订系统1.cpp rename to 机房机位预订系统001.cpp index b645afa..d9fea32 100644 --- a/机房机位预订系统1.cpp +++ b/机房机位预订系统001.cpp @@ -105,7 +105,7 @@ void JIEMIAN() printf("-޷ļ!-\n"); exit(0); } - printf(" ҪԤĻλź͵绰(λź͵绰֮ʹÿո)"); + printf(" ҪԤĻλź͵绰(λź͵绰֮ʹÿո)\n"); scanf("%s %s",w[i].number,w[i].haoma); for(i=0;i<1;i++) fwrite(&w[i],sizeof(struct wait),1,fp); @@ -200,7 +200,7 @@ void CHAXUN() { int time,i; FILE *fp; - printf(" Ҫҵʱ(8-20)\n"); + printf(" Ҫҵĵȴʱ䣺\n"); scanf("%d",&time); if(time<8||time>=20) { @@ -212,11 +212,12 @@ void CHAXUN() { if((fp=fopen("ѧϢ.txt","r"))==NULL) { - printf("-޷ļ!-\n"); + printf("\n-޷ļ!-\n"); exit(0); } else { + printf("ǵȴбλ 绰\n"); for(i=0;!feof(fp);i++) { fscanf(fp,"%s %s",&w[i].number,&w[i].haoma); @@ -232,7 +233,7 @@ void CHAXUN() } void dengdai(int i) { - printf("\t\t %s %s \n",w[i].number,w[i].haoma); + printf("\t\t %s %s \n",w[i].number,w[i].haoma); } void slove(int time) //ʱÿʱεĿջλ { diff --git a/机房机位预订系统1.exe b/机房机位预订系统001.exe similarity index 69% rename from 机房机位预订系统1.exe rename to 机房机位预订系统001.exe index 1fc3462..1eb8d52 100644 Binary files a/机房机位预订系统1.exe and b/机房机位预订系统001.exe differ