d04 ex02 ok, presque rien a changer ou je me trompe ?

This commit is contained in:
hugogogo
2022-02-26 22:12:55 +01:00
parent ed2bbc7fd2
commit c056db80b7
27 changed files with 597 additions and 68 deletions

View 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 = 0;
std::string getType() const;
protected:
std::string type;
};
#endif