feat: starting the ex01
This commit is contained in:
parent
13deee8e3c
commit
1cff8e9d9e
11 changed files with 374 additions and 0 deletions
30
cpp04/ex01/Animal.hpp
Normal file
30
cpp04/ex01/Animal.hpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* Animal.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/01/28 17:44:54 by rparodi #+# #+# */
|
||||
/* Updated: 2025/01/30 13:42:23 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef ANIMAL_HPP
|
||||
#define ANIMAL_HPP
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
class Animal {
|
||||
public:
|
||||
Animal();
|
||||
~Animal();
|
||||
void makeSound();
|
||||
std::string getType();
|
||||
protected:
|
||||
std::string type;
|
||||
private:
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue