-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAAnimal.hpp
More file actions
35 lines (28 loc) · 1.19 KB
/
AAnimal.hpp
File metadata and controls
35 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* AAnimal.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/16 00:15:13 by zelhajou #+# #+# */
/* Updated: 2024/06/16 01:21:57 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef AANIMAL_HPP
# define AANIMAL_HPP
# include <iostream>
# include <string>
class AAnimal
{
protected:
std::string type;
public:
AAnimal();
AAnimal(const AAnimal& other);
AAnimal& operator=(const AAnimal& other);
virtual ~AAnimal();
virtual void makeSound() const = 0;
std::string getType() const;
};
#endif