diff options
1 files changed, 0 insertions, 24 deletions
| -rw-r--r-- | Sem. 13/Farm/Farm.h | 24 |
diff --git a/Sem. 13/Farm/Farm.h b/Sem. 13/Farm/Farm.h deleted file mode 100644 index f33f244..0000000 --- a/Sem. 13/Farm/Farm.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once
-#include "Animal.h"
-
-class Farm
-{
- Animal** animals;
- size_t animalsCount;
- size_t capacity;
-
- void free();
- void copyFrom(const Farm& other);
- void resize();
-
-public:
- Farm();
- Farm(const Farm& other);
- Farm& operator=(const Farm& other);
- ~Farm();
-
- void addAnimal(const Animal& animal);
-
- void allSayHello() const;
-
-};
|
