Files
42_INT_09_piscine_cpp/d04/ex01/Animal.hpp

28 lines
344 B
C++

#ifndef ANIMAL_HPP
# define ANIMAL_HPP
# include "color.h"
#include <iostream>
#include <string>
class Animal {
public:
Animal();
Animal( Animal const & src );
virtual ~Animal( void );
Animal & operator=( Animal const & rhs );
virtual void makeSound() const;
std::string getType() const;
protected:
std::string type;
};
#endif