From b127a93c843cdcce78fa7c4641de665c7601b24a Mon Sep 17 00:00:00 2001 From: "18408000218@stu.hut.edu.cn" <18408000218@stu.hut.edu.cn> Date: Fri, 11 Jan 2019 18:28:20 +0800 Subject: [PATCH] first commit --- data.txt | 1 + data2.txt | 0 main.c | 4 +++- main.exe | Bin 148941 -> 148941 bytes user.txt | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 data2.txt diff --git a/data.txt b/data.txt index 69777b8..8e8e8e2 100644 --- a/data.txt +++ b/data.txt @@ -1 +1,2 @@ +17450150225 李天一 1 1 1 18408000218 周庆 1 1 1 diff --git a/data2.txt b/data2.txt deleted file mode 100644 index e69de29..0000000 diff --git a/main.c b/main.c index 3d0459a..06aff76 100644 --- a/main.c +++ b/main.c @@ -142,7 +142,7 @@ void display() { struct node tem[1000]; int i=0; - printf("已保存的名学生基本信息:\n"); + printf("已保存的学生基本信息:\n"); FILE *fp=fopen("data.txt","r"); while(fscanf(fp,"%s%s%s%d%s",tem[i].stnum,tem[i].stname,tem[i].sex,&tem[i].age,tem[i].detail)!=EOF){ printf("学号:%-12s姓名:%-8s\t性别:%-4s\t年龄:%-4d\t备注:%-4s\n",tem[i].stnum,tem[i].stname,tem[i].sex,tem[i].age,tem[i].detail); @@ -390,12 +390,14 @@ void _menus2() printf("\t\t\t\t\t*--------5 退出--------------*\n\n"); } + void end() { char c; printf("按任意键继续!\n"); c=getch(); } + int cpassword() { char mi[100]; diff --git a/main.exe b/main.exe index 6615650974bb815f012daf4ec905119fe27374ce..40983c936660f9ee5ce92b340e4e99f3a35cfb6d 100644 GIT binary patch delta 1500 zcmZXSe@t6d6vumDj6x`aP+Cfh4@yBs>G;)O2q+Gcf*RPQ+fXzs5S?Vv%&^F|1dO#~ zwPRsBCL_jdW@y-mitL&F4D!Pf#t1()W9Bql_(R;&n#nNAT%6By?@RbY-yiRO?)iT2 zIrrXkXG1Zwp_tx-kp*wKj)b0zsIU%yf9DbP&~}x|)1w*epH2V}`>!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XEstyJQN}5p%g!sW9>O{I76^#WBAYqo>fhJTjx7%S)q5ozoapMl zBpehP>YM9r&4-)WxdlNyy7LFn8OCJ!+^{Tf8jlRF(_G1GPINz2Un4a2@>o V%(Adb5bk^Pv(G`-e=P`d%fBd8;aLCx diff --git a/user.txt b/user.txt index 7c7034c..fc012c6 100644 --- a/user.txt +++ b/user.txt @@ -1 +1 @@ -zq19991001 1234 \ No newline at end of file +zq19991001 123 \ No newline at end of file