update: module01/ex00
This commit is contained in:
parent
6e1b64938d
commit
07022df125
10 changed files with 244 additions and 2 deletions
32
cpp01/ex00/Zombie.hpp
Normal file
32
cpp01/ex00/Zombie.hpp
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* Zombie.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/04 16:03:03 by rparodi #+# #+# */
|
||||
/* Updated: 2024/11/04 16:31:17 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef ZOMBIE_HPP
|
||||
# define ZOMBIE_HPP
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
class Zombie
|
||||
{
|
||||
public:
|
||||
Zombie(std::string name);
|
||||
~Zombie();
|
||||
void announce(void);
|
||||
private:
|
||||
std::string _name;
|
||||
};
|
||||
|
||||
Zombie* newZombie( std::string name );
|
||||
void randomChump( std::string name );
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue