Make some Animal methods pure virtual
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 25 Oct 2024 11:08:40 +0000 (13:08 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 25 Oct 2024 11:08:40 +0000 (13:08 +0200)
commit4f58f18498991ac125004f27129839602086daaa
tree373513253cbfe124f23802c9633480e0250a0daf
parent41729b9c4a1d3a39c6df3a0a21a2faab7f919284
Make some Animal methods pure virtual

There already were some pure virtual methods so the task was fulfilled
in ex01 already. It maybe should not have been.

For the evaluator of ex01: The Animal may not be abstract by removing
the pure virtual methods. The methods then have to be called from main
through dynamic_casting the Animal pointers to the Derived pointer
types, which have the methods defined.
ex02/Animal.cpp
ex02/Animal.h