d04 ex01 ok change affichage + delete brain + constructors with default arguments

This commit is contained in:
hugogogo
2022-02-26 19:20:49 +01:00
parent 12f4c72e77
commit ed2bbc7fd2
8 changed files with 116 additions and 29 deletions

View File

@@ -12,7 +12,8 @@ class Dog : public Animal {
public:
Dog( Brain *brain = new Brain() );
Dog();
Dog( Brain *brain );
Dog( Dog const & src );
~Dog();
Dog & operator=( Dog const & rhs );