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.

26 lines
706 B

#ifndef WORK20220325_GRADUATE_H
#define WORK20220325_GRADUATE_H
#include "Student.h"
#include "../teachers/Teacher.h"
class Graduate : public Student {
protected:
std::string subject;
Teacher adviser;
public:
Graduate() = delete;
Graduate(const std::string &id, const std::string &name, char sex, const std::string &identNumber,
const Date &birthday, int classId, const std::string &subject, const Teacher &adviser, const Person &person);
Graduate(const Graduate &graduate);
Graduate(int classId, const Person &person, const std::string &subject, const Teacher &adviser);
std::string toString();
};
#endif //WORK20220325_GRADUATE_H