CPP04/ex01/inc/Animal.hpp
2025-04-14 18:13:35 +02:00

30 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* :::::::: */
/* Animal.hpp :+: :+: */
/* +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2025/04/05 16:53:44 by whaffman #+# #+# */
/* Updated: 2025/04/10 12:32:17 by whaffman ######## odam.nl */
/* */
/* ************************************************************************** */
#pragma once
#include <string>
class Animal
{
protected:
std::string type;
public:
Animal();
Animal(const Animal &other);
virtual ~Animal();
Animal &operator=(const Animal &other);
virtual void makeSound(void) const;
std::string getType(void) const;
};