feat: adding the module01/ex01
This commit is contained in:
parent
07022df125
commit
c7e3b1ab02
6 changed files with 251 additions and 0 deletions
33
cpp01/ex01/Zombie.hpp
Normal file
33
cpp01/ex01/Zombie.hpp
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* Zombie.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/04 16:03:03 by rparodi #+# #+# */
|
||||
/* Updated: 2024/11/04 20:38:39 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef ZOMBIE_HPP
|
||||
# define ZOMBIE_HPP
|
||||
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
class Zombie
|
||||
{
|
||||
public:
|
||||
Zombie();
|
||||
~Zombie();
|
||||
void announce(void);
|
||||
void setName( std::string name );
|
||||
private:
|
||||
std::string _name;
|
||||
};
|
||||
|
||||
Zombie* zombieHorde( int N, std::string name );
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue