Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 13 / Farm / Cat.cpp
diff options
context:
space:
mode:
1 files changed, 0 insertions, 12 deletions
-rw-r--r--Sem. 13/Farm/Cat.cpp12
diff --git a/Sem. 13/Farm/Cat.cpp b/Sem. 13/Farm/Cat.cpp
deleted file mode 100644
index 4bb833a..0000000
--- a/Sem. 13/Farm/Cat.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "Cat.h"
-
-void Cat::sayHello() const
-{
- std::cout << "Hello, I am a Cat!" << std::endl;
-}
-
-Animal* Cat::clone() const
-{
- Animal* newObj = new Cat(*this); //copy constr of Mouse
- return newObj;
-} \ No newline at end of file