「✨」 feat(Ex00): added a very cool feature !
This commit is contained in:
33
ex00/animal.hpp
Normal file
33
ex00/animal.hpp
Normal file
@ -0,0 +1,33 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* animal.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/30 16:33:08 by adjoly #+# #+# */
|
||||
/* Updated: 2024/12/01 20:22:41 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class Animal {
|
||||
protected:
|
||||
std::string _type;
|
||||
|
||||
public:
|
||||
Animal(void);
|
||||
~Animal(void);
|
||||
Animal(std::string);
|
||||
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);
|
Reference in New Issue
Block a user