学籍管理系.docVIP

  • 13
  • 0
  • 约 26页
  • 2016-12-08 发布于河南
  • 举报
学籍管理系

学籍管理系统 typedef struct //日期结构体 { int year; int month; int day; }Date; typedef struct //学籍结构体 { char xh[20];//学号 char xm[10];//姓名 char lxdh[12]; //联系电话 char jtdz[30]; //家庭地址 Date birthday; //生日 char zy[15]; //专业 }XJ; XJ xsxj[100]; //用XJ 定义一个数组存放成绩; #include stdio.h #include stdlib.h #include conio.h #include ctype.h #include string.h #define LEN sizeof(XJ) XJ stud[100]; //用XJ 定义一个数组存放成绩 int reccount=0; /*定义全局变量存放当前记录、记录数*/ void s_read(); /*函数声明:读记录*/ void s_save(); /*函数声明:保存记录*/ int xhexist(char num[]); /*函数声明:判断学号是否存在*/ void s_add(); /*函数声明:追加记录*/ void sear_xh(); /*函数声明:按学号查询*/ void sear_xm();

文档评论(0)

1亿VIP精品文档

相关文档