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
+12
View File
@@ -0,0 +1,12 @@
#include "YoungPerson.h"
#include <iostream>
YoungPerson::YoungPerson(std::string name, int age) : Person(name, age) { std::cout << "YoungPerson ctor\n"; }
YoungPerson::~YoungPerson() {
// Implemented purely to show that
// the derived-class destructor was
// being called where appropriate
std::cout << "YoungPerson dtor\n";
}