C语言学生信息管理系统代码
f作者:日期:
2
f个人收集整理,勿做商业用途
XX师范大学实验报告
课程任课老师学号姓名院系
C语言课程设计
_______年______月至_______年_______月
3
f个人收集整理,勿做商业用途
注意事项
1使用C语言,代码已在vs中运行过,可以运行(主要功能都能实现)2需求分析,前期设计都没写,请同学们自己完成3附带有stude
ttxt文件,将其移动至Fstu文件夹中,运行程序时可直接
选6号指令,从中读取学生信息。如果没有该txt文件(可能会在上传过程中丢失),仍需在F盘下新建stu文件夹,各文件将保存于该文件夹中4按word格式输出尚未设计好,有兴趣可自己完成5按excel格式输出,完成后需自行调整相应列宽(拉宽),使内容美观6从下一页开始,复制余下全文,粘贴即可运行
4
f个人收集整理,勿做商业用途
i
cludestdioh
defi
eM30
班级总人数,暂定30,可修改
defi
eN3
课程成绩门数,暂定3,可修改
i
ti
putstustructstude
tstui
tmi
t
voidpri
stustructstude
tstui
tmi
t
i
tsorts
ostructstude
tstui
tm
i
tsortagestructstude
tstui
tm
i
tsortmarkstructstude
tstui
tsmi
tmi
t
voidpri
sortstructstude
tstui
tmi
t
i
twritefilestructstude
tstuFILEfpi
tmi
t
i
treadfilestructstude
tstuFILEfpi
tmi
t
i
tfpri
wordstructstude
tstuFILEfpi
tmi
t
i
tfpri
excelstructstude
tstuFILEfpi
tmi
t
i
tseachs
ostructstude
tstulo
gs
oi
tmi
t
i
tseachs
amestructstude
tstuchars
amei
tmi
t
i
tdes
ostructstude
tstulo
gs
oi
tm
i
tdes
amestructstude
tstuchars
amei
tm
i
tcuti
structstude
tstui
tmi
t
structstude
t
i
ttur
lo
gs
o
chars
ame20
charsgrade10
charsbirth10
i
tsmarkN
voidmai
i
ti0
i
tco
10
i
tco
20
lo
gs
o
chars
ame20
FILEfpNULL
structstude
tstuM
fori0iMi
stuitur
1
do
pri
tf