c/c++课的作业合集,都是很简单的文件。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
591 B

#ifndef WORK20220325_STUDENT_H
#define WORK20220325_STUDENT_H
#include "../base/Person.h"
class Student : virtual public Person {
protected:
int classId;
public:
Student() = delete;
Student(int classId, const Person &person);
Student(const Student &student);
Student(const std::string &id, const std::string &name, char sex, const std::string &identNumber,
const Date &birthday, int classId);
int getClassId() const;
void setClassId(int classId);
std::string toString();
};
#endif //WORK20220325_STUDENT_H