d04 ex02 ok, presque rien a changer ou je me trompe ?
This commit is contained in:
27
d04/ex01/headers/Animal.hpp
Normal file
27
d04/ex01/headers/Animal.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user