Files
42_INT_09_piscine_cpp/d04/ex01/Animal.hpp

29 lines
332 B
C++

#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