| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* AnimalWrong.hpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/12/18 16:26:41 by bchanot #+# #+# */
- /* Updated: 2025/12/18 17:01:40 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #ifndef ANIMALWRONG_HPP
- # define ANIMALWRONG_HPP
- # include <iostream>
- # include <string>
- class AnimalWrong
- {
- public:
- AnimalWrong();
- AnimalWrong( AnimalWrong const & src );
- AnimalWrong( std::string const & type );
- ~AnimalWrong();
- AnimalWrong & operator=( AnimalWrong const & rhs );
- void makeSound(void) const;
- std::string getType(void) const;
- protected:
- std::string type;
- };
- std::ostream & operator<<( std::ostream & o, AnimalWrong const & i );
- #endif /* ********************************************************** ANIMAL_H */
|