- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
C语言-学生信息管理系统(代码)
———————————————————————————————— 作者:
———————————————————————————————— 日期:
2
个人收集整理,勿做商业用途
学X 师 范 大 X
验 报 告实
C语言课程设计 课 程 任课老师
学 号
姓 名
系 院
_______年______月至_______年_______月
3
个人收集整理,勿做商业用途
注意事项
1. 使用C语言,代码已在vs中运行过,可以运行(主要功能都能实现)
2. 需求分析,前期设计都没写,请同学们自己完成
3. 附带有 student.txt 文件,将其移动至 F:\stu 文件夹中,运行程序时可直接选 6号指令,从中读取学生信息。如果没有该txt文件(可能会在上传过程中丢失),仍需在F盘下新建stu文件夹,各文件将保存于该文件夹中
4. 按word格式输出尚未设计好,有兴趣可自己完成
5. 按excel格式输出,完成后需自行调整相应列宽(拉宽),使内容美观
6. 从下一页开始,复制余下全文,粘贴即可运行
4
个人收集整理,勿做商业用途
#includestdio.h
#define M 30 //班级总人数,暂定30,可修改
#define N 3 //课程成绩门数,暂定3,可修改
int inputstu(struct student stu[], int m, int n);
void prinstu(struct student stu[], int m, int n);
int sortsno(struct student stu[], int m);
int sortage(struct student stu[], int m);
int sortmark(struct student stu[],int sm[], int m, int n);
void prinsort(struct student stu[], int m, int n);
int writefile(struct student stu[], FILE *fp, int m, int n);
int readfile(struct student stu[], FILE *fp, int m, int n);
int fprinword(struct student stu[], FILE *fp, int m, int n);
int fprinexcel(struct student stu[], FILE *fp, int m, int n);
int seachsno(struct student stu[],long sno, int m,int n);
int seachsname(struct student stu[],char sname[], int m, int n);
int desno(struct student stu[], long sno, int m);
int desname(struct student stu[], char sname[], int m);
int cutin(
文档评论(0)