This commit is contained in:
Timo Hocker 2020-05-24 19:17:19 +02:00
parent f6e6180958
commit ec1ebcaed6
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include "animal.h"
using namespace std;
// make the class inherit from animal
class cat: public animal
{
// include the animal constructor

View File

@ -5,6 +5,7 @@
#include "animal.h"
using namespace std;
// make the class inherit from animal
class dog: public animal
{
// include the animal constructor