c语言学生成绩管理系统(链表版)

C语言学生成绩管理系统。特性:打开时需要输入密码(密码可以在程序在程序中修改,以文件方式存在);增加,删除,修改,查询功能;有统计学生成绩的功能;用表格统计学生记录(是真的表格,很清楚);VS2013 VC6.0编译通过,遇到表格显示不完整时,就把控制台窗口调宽一点。代码一共有一千三百多行。

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

#include <conio.h>

#include <windows.h>

#include <ctype.h>

#define YES 1

#define NO 0

typedef struct

{

int num;

float math_score;

float engl_score;

float chin_score;

float phy_score;

float chem_score;

double aver_score;

double sum_score;

char sex;

}StudentDate;//学生基本信息

typedef struct student

{

char name[20];//学生姓名

StudentDate one;//学生其他信息

int rank;//成绩排名

struct student *next;

}Student, *List;

Student *startCheck(void);//开始检查

Student *createListHead(void);//创建链表的头

void menu(void);//主菜单

void sortList(Student *pHead);//排序链表

void readListWithFile(Student *pHead, char *file_name);//从文件中读取数据,并保存在链表中

void sorttList(Student *pHead);//排序链表

int userChioce(Student *pHead);//用户选择

int sortMenu(void);//打印选择菜单

void passwordCheck(void);//密码检测

void correctWord(void);//修改密码

void addStudentInfo(Student *pHead);//向链表的末尾添加数据

int scanMenu(void);//浏览菜单

void findStudentInfo(Student *pHead);//查找学生信息

void delStudentInfo(Student *pHead);//删除某一个学生信息

void alterStudentInfo(Student *pHead);//修改学生信息

你可能喜欢

  • C语言链表
  • c语言总结
  • C语言经典算法
  • c语言资料
  • C语言课程设计图书管理系统
  • C语言指针详解
  • 企业战略管理
  • c语言指针

c语言学生成绩管理系统(链表版)相关文档

最新文档

返回顶部