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.
 
 
 

22 lines
443 B

#ifndef WORK20220325_TEACHER_H
#define WORK20220325_TEACHER_H
#include "../base/Person.h"
class Teacher : virtual Person {
protected:
std::string job;
std::string department;
public:
Teacher(const Person &person, const std::string &job, const std::string &department);
Teacher(const Teacher &teacher);
Teacher() = delete;
virtual std::string toString();
};
#endif //WORK20220325_TEACHER_H