diff options
1 files changed, 14 insertions, 0 deletions
| -rw-r--r-- | Sem. 13/Farm/source.cpp | 14 |
diff --git a/Sem. 13/Farm/source.cpp b/Sem. 13/Farm/source.cpp new file mode 100644 index 0000000..e5b5cf7 --- /dev/null +++ b/Sem. 13/Farm/source.cpp @@ -0,0 +1,14 @@ +#include <iostream>
+#include "Farm.h"
+#include "Dog.h"
+#include "Cat.h"
+#include "Mouse.h"
+
+int main()
+{
+ Farm f;
+ f.addAnimal(Dog());
+ f.addAnimal(Cat());
+
+ f.allSayHello();
+}
\ No newline at end of file |
