28 lines
289 B
C++
28 lines
289 B
C++
#ifndef DOG_HPP
|
|
# define DOG_HPP
|
|
|
|
# include "Animal.hpp"
|
|
|
|
# include <iostream>
|
|
# include <string>
|
|
|
|
class Dog : public Animal {
|
|
|
|
public:
|
|
|
|
Dog( void );
|
|
Dog( Dog const & src );
|
|
~Dog( void );
|
|
Dog & operator=( Dog const & rhs );
|
|
|
|
void makeSound() const;
|
|
|
|
protected:
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
#endif
|
|
|