d04 ex00 gestion virtual destructor et ajout messages constructors et destructors
This commit is contained in:
24
d04/ex00/Dog.hpp
Normal file
24
d04/ex00/Dog.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef DOG_HPP
|
||||
# define DOG_HPP
|
||||
|
||||
# include "color.h"
|
||||
# include <iostream>
|
||||
# include <string>
|
||||
|
||||
# include "Animal.hpp"
|
||||
|
||||
class Dog : public Animal {
|
||||
|
||||
public:
|
||||
|
||||
Dog( void );
|
||||
Dog( Dog const & src );
|
||||
~Dog( void );
|
||||
Dog & operator=( Dog const & rhs );
|
||||
|
||||
void makeSound() const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user