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