You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Zombie.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/14 08:02:30 by narnaud #+# #+# */
/* Updated: 2022/06/14 09:49:11 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ZOMBIE_HPP
# define ZOMBIE_HPP
# ifndef DEBUG
# define DEBUG 0
# endif
#include <iostream>
#include <cstdlib>
3 years ago
using std::cin;
using std::cout;
using std::string;
class Zombie
{
public:
Zombie(string name);
~Zombie();
void announce(void) const;
private:
string _name;
};
Zombie *newZombie(string name);
void randomChump(string name);
#endif