consolidate all repos to one for archive

This commit is contained in:
2025-01-28 13:46:42 +01:00
commit a6610fbc7a
5350 changed files with 2705721 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#ifndef EXAMPLE25_ASSISTANT_H
#define EXAMPLE25_ASSISTANT_H
#include <iostream>
class Assistant : public Person {
//class Assistant : public virtual Person {
protected:
std::string faculty;
std::string subject;
public:
Assistant(std::string n, std::string f, std::string s) : Person(n), faculty(f), subject(s) {
}
virtual ~Assistant() {
}
virtual void print() const {
std::cout << "Assistant: " << name << " " << faculty << " " << subject << std::endl;
}
virtual std::string department() const {
return faculty;
}
};
#endif //EXAMPLE25_ASSISTANT_H