chore: Add course material

This commit is contained in:
2026-10-05 11:27:21 +02:00
parent 971813c351
commit e8241fd1ff
660 changed files with 26658 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef EMPLOYEE_H
#define EMPLOYEE_H
#include "Person.h"
class Employee : public Person {
public:
void askForInfo();
private:
int salary;
void doDisplay();
template <class Archive> void serialize(Archive &ar, const unsigned int version) {
ar &BOOST_SERIALIZATION_BASE_OBJECT_NVP(Person);
ar &BOOST_SERIALIZATION_NVP(salary);
}
friend class boost::serialization::access;
};
#endif