C 语言教务管理系统 一、程序结构图 二、程序运行截图 1
个人信息简介 2
修改颜色 3
注册界面 4
信息保存至文件 5
登录界面 6
管理员录入信息 7
学生信息录入 8
学生成绩录入 9
学生课程表录入 10
学生信息查询界面 11 学生信息查询 12
学生成绩查询 13
学生课表查询 三、代码(一个 cpp) #include #include #include #include #include #include"windows
h" #define student_num 1000 /*定义 1000 个学生*/ #define teacher_num 5 /*定义 5 个老师(管理员)*/ int is_my_student(struct student *p,int *size); /*声明 返回第 i+1 个学生的函数*/ int is_my_teacher(struct teacher *p,int *size); /*声明 返回第 i+1 个老师的函数*/ int length_student_name(char *p); /*声明 验证用户名函数*/ int length_student_password(char *p); /*声明 验证密码长度函数*/ int length_teacher_name(char *p); /*声明 验证用户名函数*/ int length_teacher_password(char *p); /*声明 验证密码长度函数*/ int show_menu_login(); /*声明 登录菜单函数*/ int show_menu_register(); /*声明 注册菜单函数*/ int show_teacher_select(); /*声明 教师录入菜单函数*/ int show_studen