帮忙做出来C++ 学生信息管理系统程序 课程设计

来源:百度知道 编辑:UC知道 时间:2024/05/31 04:06:37
C++程序要求包括对学生信息的姓名,性别,电子信箱,年龄,出生年月,地址,学号,电话(程序具有对它们的查询,删除,输入,修改,等功能)。
急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!急用!SOS!

//: Student.h{L}
//define the class of student
#ifndef STUDENT_H
#define STUDENT_H

enum gender{male, female};

class Student{
private:
char[20] name, adress, telnum;
gender gender;
string emailadr;
int age, number;
public:
Student();
void del();
void modify(string emladr);
void modify(char[20] adr);
//Here I avoided the unnecessary modification...
};
///:~

//:Student.cpp{O}
#include<cstring>
#include<iostream>
using namespace std;

Student::Student(int i){
this.number=i
cout << "Input The Name Of The Student:" << endl;
cin >> this.name >> endl;
cout << "Input His/Her Gender(0 for male,1 for female:"
<< endl;
cin >> this.gender >> endl;
//etc,.
}<