d04 ex01 en grande partie fait mais segfault qqpart

This commit is contained in:
Hugo LAMY
2022-02-25 14:19:24 +01:00
parent 3cdc4ec436
commit 12f4c72e77
16 changed files with 271 additions and 196 deletions

View File

@@ -1,6 +1,7 @@
#ifndef ANIMAL_HPP
# define ANIMAL_HPP
# include "color.h"
#include <iostream>
#include <string>
@@ -8,9 +9,9 @@ class Animal {
public:
Animal( void );
Animal();
Animal( Animal const & src );
~Animal( void );
virtual ~Animal( void );
Animal & operator=( Animal const & rhs );
virtual void makeSound() const;
@@ -20,8 +21,6 @@ protected:
std::string type;
private:
};
#endif