C程序实例图书馆管理系统.doc

  1. 1、本文档共55页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
C程序实例图书馆管理系统

#include lt;stdio.hgt; #include lt;conio.hgt; #include lt;ctype.hgt; #include lt;stdlib.hgt; #define MAX 10 #define N 20 #define M 10 void by_name(struct CLASS *headp); void by_number(struct CLASS *headp); void by_age(struct CLASS *headp); void by_tel(struct CLASS *headp); void write_file(struct CLASS *headp,FILE *myfile); float SUBAVE(struct CLASS *headp,int,int,int); void CLAAVE(struct CLASS *headp); void incredit(struct CLASS *headp); void sort(struct CLASS *headp); void method(void); void WarnCLA(); void WarnSTU(); void WarnSUB(); void SUCESSES(); void out(struct CLASS *headp,int,int); void introduce(void); void screen(int,int,int,char *p[]); struct CLASS * read_file(struct CLASS *headp,FILE *myfile); struct CLASS * create(struct CLASS *headp); struct CLASS * mod_stu(struct CLASS *headp); struct CLASS * mod_sbj(struct CLASS *headp); struct CLASS * mod_score(struct CLASS *headp); struct CLASS * mod_STUkey(struct CLASS *headp); struct CLASS * del_sbj(struct CLASS *headp); struct CLASS * del_stu(struct CLASS *headp); struct CLASS * del_cla(struct CLASS *headp); struct CLASS * ins_cla(struct CLASS *headp); struct CLASS * ins_stu(struct CLASS *headp); struct CLASS * ins_sbj(struct CLASS *headp); struct STUD{ /*学生结构体*/ long number; unsigned subjects; unsigned age; float average; char STUkey[12]; char name[N]; char kind[M]; char sex[M]; char bir_p[N]; char add[N]; long tel; char mobilephone[15]; struct STUD* next; struct SUB* first; }; struct CLASS{ /*班级结构体*/ unsigned no; unsigned students; unsigned classes; char ADMkey[12]; float score[MAX]; float average; struct STUD* first; struct CLASS* next; }; struct SUB{ /*课程结构体*/ unsigned number; char name[N]; unsigned credit; unsigned ps_score; unsigned tx_score; unsigned un_score; struct SUB* next; }; FILE *fp; int key0,key1,key,test,dx,dy,y,x,i; /*外部变量说明*/ char buf[30*10*2],buf1[30*2]; char *chp[ ]= {quot;filequot;,

文档评论(0)

lifupingb + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档