This commit is contained in:
Hugo LAMY
2022-02-24 17:12:17 +01:00
parent 0d5993dd5a
commit ba3b88f0bf
15 changed files with 507 additions and 8 deletions

28
d04/Animal.hpp Normal file
View File

@@ -0,0 +1,28 @@
#ifndef ANIMAL_HPP
# define ANIMAL_HPP
#include <iostream>
#include <string>
class Animal {
public:
Animal( void );
Animal( Animal const & src );
~Animal( void );
Animal & operator=( Animal const & rhs );
virtual void makeSound() const;
std::string getType() const;
protected:
std::string type;
private:
};
#endif