summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lukas Jiriste [Fri, 25 Oct 2024 08:33:21 +0000 (10:33 +0200)]
Add method for brain to acquire and express ideas
Lukas Jiriste [Fri, 25 Oct 2024 08:01:50 +0000 (10:01 +0200)]
Add Brain class and use it in Cat and Dog
This is an exercise in ownership handling, so Dog and Cat contain a
pointer to Brain that they have to correctly manage.
Lukas Jiriste [Fri, 25 Oct 2024 07:44:20 +0000 (09:44 +0200)]
Copy ex00 to ex01
Lukas Jiriste [Fri, 25 Oct 2024 07:28:53 +0000 (09:28 +0200)]
Extend main.cpp, make Animal destr virtual in ex00
Extend main.cpp by the Wrong- classes and add delete to call the
destructors. For the delete to work properly, the Animal destructor is
changed to a virtual one.
Lukas Jiriste [Thu, 24 Oct 2024 16:54:58 +0000 (18:54 +0200)]
Implement the solution to ex00