diff options
1 files changed, 0 insertions, 12 deletions
| -rw-r--r-- | Sem. 13/Farm/Dog.cpp | 12 |
diff --git a/Sem. 13/Farm/Dog.cpp b/Sem. 13/Farm/Dog.cpp deleted file mode 100644 index f44692c..0000000 --- a/Sem. 13/Farm/Dog.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "Dog.h"
-
-void Dog::sayHello() const
-{
- std::cout << "Hello, I am a Dog!" << std::endl;
-}
-
-Animal* Dog::clone() const
-{
- Animal* newObj = new Dog(*this); //copy constr of Mouse
- return newObj;
-}
\ No newline at end of file |
