900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > 学生信息管理系统c 语言程序设计报告 C语言程序设计报告(学生信息管理系统)[1].txt...

学生信息管理系统c 语言程序设计报告 C语言程序设计报告(学生信息管理系统)[1].txt...

时间:2023-10-16 16:23:50

相关推荐

学生信息管理系统c 语言程序设计报告 C语言程序设计报告(学生信息管理系统)[1].txt...

C语言程序设计报告(学生信息管理系统)[1].txt

C CCCC * * * * * * * * * * * * * * * * .3 3 .4 1. .4 2. 4 3. 4 4. .5 飺 .5 4.1 head.h5 4.2 menu.cpp.6 4.3 menushow.cpp.7 4.4 .cpp.8 4.5 modify.cpp 10 4.6 del.cpp.11 4.7 search.cpp. 13 4.8 order.cpp.15 4.9 average.cpp18 4.10 backup.cpp 20 4.11 choice.cpp 21 22 22 2 1. 2. 3. 4. 5. BORLANDC Windows XP windows 7 3 1 1111. 2 2222. ij m k n 3 3333. structstudent long int num; charname20; charsex; int age; int math; int english; int chinese; 4 int sum; ; 4 4444. 飺 1 head.h 2 1-8. 9 3 4滹 4 4444. 1 1111 h hhhhe eeeea aaaad dddd. h hhhh 4.1.1 1 include 2“number name sex age math english chinese sumn“ “-12ld-14s-4c-6d-7d-8d-8d-8dn“ DEF stui.num,stui.name,stui.sex,stui.age,stui.math,stui.english,stui.chinese,stui.sum 3壬 4.1.2 include include include include define LEN sizeofstructstudent define HIJ “number name sex age math english chinese sumn“ define ABC “-12ld-14s-4c-6d-7d-8d-8d-8dn“ define DEF stui.num,stui.name,stui.sex,stui.age,stui.math,stui.english,stui.chinese,stui.sum define N 50 define DATA “Fcdata.txt“ structstudent 5 long int num; charname20; charsex; int age; int math; int english; int chinese; int sum; ; void menushow; void ; void show; void modify; void del; void search; void order; void average; void backup; int choice; 4 4444. 2 2222 m mmmme eeeen nnnnu uuuu. c ccccp ppppp pppp 4.2.1 1 2 clrscr; 3 0-8 4.2.2 include“head.h“ void main / / while1 int n; clrscr; menushow; scanf“d“, switchn case 1 ; 6 break; case 2 modify; break; case 3 del; break; case 4 search; break; case 5 order; break; case 6 average; break; case 7 show; break; case 8 backup; break; case 0 printf“thanks forusethe programe.n“; getch; clrscr; exit0; default printf“please the numberof0-8“; getch; 4 4444. 3 3333 m mmmme eeeen nnnnu uuuus ssssh hhhho oooow wwww. c ccccp ppppp pppp include“head.h“ void menushow printf“n“; printf“tt-thestudentsystem-n“; printf“t1. thedata 2.modify thedatan“; 7 printf“t3.delete the data 4.search the datan“; printf“t5.order the data 6.average thedatan“; printf“t7.show all data 8.backup the datan“; printf“t0.exit the programe n“; printf“ttn“; printf“ttpleasechoose0-8“; 4 4444. 4 4444 i iiiin nnnnp ppppu uuuut tttt. c ccccp ppppp pppp 4.4.1 1 while 2 4.4.2 include“head.h“ void structstudent stuN; FILE *fp; int i,j,m; charch10; iffpDATA,“rt“NULL printf“cantopen thefilen“; return; fori0;feoffp0;i iffread return; mi-1; ifm0 printf“nownodatain thefilen“; printf“Do you wantto new dataY/N“; scanf“s“,ch; 8 whilestrcmpch,“Y“ 0strcmpch,“y“ 0 printf“number“; scanf“ld“, forj0;j0 printf“successfulbackupthe data“; else printf“cantbackupit“; fclosefp; fcloseexfp; getch; 4 4444. 1 11111 1111 c cccch hhhho ooooi iiiic cccce eeee. c ccccp ppppp pppp 4.11.1 4.11.2 include“head.h“ int choice int n; while1 printf“tplease choosewhichscoreyouwanttooperaten“; printf“t1.math 2.english 3.chinese 4.sumn“; scanf“d“, ifn4 printf“please chooseright number“; else returnn; 21 1 棬 2 3 4浽 5 22

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。