Website Summary Files Commits Branches @commit @diff @stats
path: root / Polymorphism / Figures
diff options
context:
space:
mode:
Commitb10017c7a5a504d51f044cdd2ee833660d89ee9f (patch)
Author
 Angeld55 <achi_d@abv.bg>
2019-09-20 14:30:07 +0300
Committer
 GitHub <noreply@github.com>
2019-09-20 14:30:07 +0300
Files3490023f5fc33144e9d10bef3bc0861371a789d9 /Polymorphism/Figures
Object-oriented_programming_FMI-b10017c7a5a504d51f044cdd2ee833660d89ee9f.tar
Object-oriented_programming_FMI-b10017c7a5a504d51f044cdd2ee833660d89ee9f.tar.gz
Object-oriented_programming_FMI-b10017c7a5a504d51f044cdd2ee833660d89ee9f.zip
Parent384fbedc32caf22c3b8be002aaabf9ce4d78720c (diff)
Rename Polymorphism/Figures/Farm(cloneFunction)/Cat.hpp to Polymorphism/Farm(cloneFunction)/Cat.hpp
1 files changed, 0 insertions, 17 deletions
-rw-r--r--Polymorphism/Figures/Farm(cloneFunction)/Cat.hpp17
diff --git a/Polymorphism/Figures/Farm(cloneFunction)/Cat.hpp b/Polymorphism/Figures/Farm(cloneFunction)/Cat.hpp
deleted file mode 100644
index da76fe3..0000000
--- a/Polymorphism/Figures/Farm(cloneFunction)/Cat.hpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "Animal.hpp"
-
-class Cat : public Animal
-{
-public:
- Cat(String name) :Animal(name)
- {}
- Animal* clone()
- {
- Animal* copy = new Cat(*this);
- return copy;
- }
- void Roar()
- {
- std::cout << "meow meow" << std::endl;
- }
-}; \ No newline at end of file