d04 ex00 gestion virtual destructor et ajout messages constructors et destructors

This commit is contained in:
Hugo LAMY
2022-02-24 17:59:05 +01:00
parent ba3b88f0bf
commit 3cdc4ec436
29 changed files with 570 additions and 0 deletions

24
d04/ex00/WrongCat.hpp Normal file
View File

@@ -0,0 +1,24 @@
#ifndef WRONG_CAT_HPP
# define WRONG_CAT_HPP
#include "color.h"
#include <iostream>
#include <string>
#include "WrongAnimal.hpp"
class WrongCat : public WrongAnimal {
public:
WrongCat( void );
WrongCat( WrongCat const & src );
~WrongCat( void );
WrongCat & operator=( WrongCat const & rhs );
void makeSound() const;
};
#endif