1
0
This repository has been archived on 2025-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
CPP_Module_04/ex00/Animal.hpp

34 lines
1.2 KiB
C++
Raw Normal View History

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* animal.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/30 16:33:08 by adjoly #+# #+# */
2024-12-04 14:01:52 +01:00
/* Updated: 2024/12/04 14:00:12 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include <string>
class Animal {
protected:
std::string _type;
public:
Animal(void);
Animal(std::string);
2024-12-04 14:01:52 +01:00
virtual ~Animal(void);
Animal(const Animal &);
Animal &operator=(const Animal &);
std::string getType(void) const;
virtual void makeSound(void) const;
};
void log(std::string, std::string, std::string, std::string);