feat(ex01): it works
This commit is contained in:
parent
b9ff91c653
commit
1a167101bb
6 changed files with 94 additions and 0 deletions
21
ex01/Zombie.hpp
Normal file
21
ex01/Zombie.hpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef ZOMBIE_HPP
|
||||
#define ZOMBIE_HPP
|
||||
|
||||
#include <string>
|
||||
|
||||
class Zombie {
|
||||
public:
|
||||
Zombie();
|
||||
Zombie(std::string name);
|
||||
~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