Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 13 / Farm / Farm.h
diff options
context:
space:
mode:
Commite012bcac0a5c5fc804fbeadb0e8ab382c5e6feb7 (patch)
Author
 angeld55 <angel_dimitriev@abv.bg>
2022-05-31 00:56:24 +0300
Committer
 angeld55 <angel_dimitriev@abv.bg>
2022-05-31 00:56:24 +0300
Files5e0fa501c9dae5a2ab8f3b043d1d43946ed66b44 /Sem. 13/Farm/Farm.h
Object-oriented_programming_FMI-e012bcac0a5c5fc804fbeadb0e8ab382c5e6feb7.tar
Object-oriented_programming_FMI-e012bcac0a5c5fc804fbeadb0e8ab382c5e6feb7.tar.gz
Object-oriented_programming_FMI-e012bcac0a5c5fc804fbeadb0e8ab382c5e6feb7.zip
Parentb5eb0ed6a0a3f8e728c30e5b03d2b366881aca76 (diff)
split in to folders
1 files changed, 0 insertions, 24 deletions
-rw-r--r--Sem. 13/Farm/Farm.h24
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;
-
-};