VC++6.0编程问题 紧急

来源:百度知道 编辑:UC知道 时间:2024/05/30 09:31:25
学生成绩管理程序设计
(1)选项菜单集成各功能函数模块
(2)录入学生成绩(姓名、学号、语文、数学成绩,总分自动计算)
(3)按总分排名次
(4)按姓名查找某学生成绩
(5)统计各课程的平均分、及格率、最高分、最低分
(6)打印成绩表
尽快!尽快!尽快!尽快!尽快!尽快!尽快!尽快!

//高校学籍管理系统
//头文件及类
#include<iostream>
#include<string>
#include<fstream>

#include<iomanip>
using namespace std;

class student
{
protected:
int number; //学号
char name[20]; //姓名
char sex[6]; //性别
char place[20]; //籍贯
char nation[6]; //民族
char birth[20]; //生日
char party[10]; //政治面貌
char id[20]; // 证件号
float score[3]; // 成绩
public:
student *next; //对象指针
student(){ } //构造函数
~student(){ } //析构函数
char* getname(){ return name; } //指针函数
int getnumber(