C语言课程设计图书馆管理系统源程序.docxVIP

  • 6
  • 0
  • 约1.32万字
  • 约 17页
  • 2016-12-19 发布于北京
  • 举报

C语言课程设计图书馆管理系统源程序.docx

#include stdio.h#include stdlib.h#include string.h #include malloc.h #define LEN sizeof(struct message_student) /*一个结构体数组元素的长度*/#define numsubs 5 /*学科数目*/typedef struct message_student/*结构体定义*/ { char number[6]; char name[20]; int age; int birthday; char sex[4]; char address[20]; float subject[numsubs]; float score; float average; int index; }student;int numstus; /*学生数目*/ student *pointer;/*指向结构体数组的指针*/ int lens; int menu_select(); /*函数声明*/int openfile(student stu[]); int findrecord(student stud[]); int writetotext(student stud[]); void welcome(); void display1(); void showtable(); void so

文档评论(0)

1亿VIP精品文档

相关文档