Website Summary Files Commits Branches @commit @diff @stats
path: root / Polymorphism / Farm(cloneFunction) / Cat.hpp
diff options
context:
space:
mode:
Commitabf529bc12fb952692e2426d65e39ecbde8a11d4 (patch)
Author
 Angeld55 <achi_d@abv.bg>
2019-09-24 00:03:33 +0300
Committer
 GitHub <noreply@github.com>
2019-09-24 00:03:33 +0300
Filesa3fec43eb8ba4f42139b95ad5d5892143283814d /Polymorphism/Farm(cloneFunction)/Cat.hpp
Object-oriented_programming_FMI-abf529bc12fb952692e2426d65e39ecbde8a11d4.tar
Object-oriented_programming_FMI-abf529bc12fb952692e2426d65e39ecbde8a11d4.tar.gz
Object-oriented_programming_FMI-abf529bc12fb952692e2426d65e39ecbde8a11d4.zip
Parent78fca35e6571e60156c80d40063dfc92cf5ba1ff (diff)
Add files via upload
1 files changed, 2 insertions, 1 deletions
-rw-r--r--Polymorphism/Farm(cloneFunction)/Cat.hpp3
diff --git a/Polymorphism/Farm(cloneFunction)/Cat.hpp b/Polymorphism/Farm(cloneFunction)/Cat.hpp
index 3b11228..eba7ff0 100644
--- a/Polymorphism/Farm(cloneFunction)/Cat.hpp
+++ b/Polymorphism/Farm(cloneFunction)/Cat.hpp
@@ -1,9 +1,10 @@
#include "Animal.hpp"
+#include <iostream>
class Cat : public Animal
{
public:
- Cat(String name) :Animal(name)
+ Cat(string name) :Animal(name)
{}
Animal* clone()
{