feat(ex00): it works
This commit is contained in:
parent
8cfb880a3a
commit
b9ff91c653
7 changed files with 57 additions and 1 deletions
10
ex00/Zombie.cpp
Normal file
10
ex00/Zombie.cpp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "Zombie.hpp"
|
||||
#include <iostream>
|
||||
|
||||
void Zombie::announce(void) {
|
||||
std::cout << name << ": " << "BraiiiiiiinnnzzzZ..." << std::endl;
|
||||
}
|
||||
|
||||
Zombie::Zombie(std::string name) { this->name = name; }
|
||||
|
||||
Zombie::~Zombie() { std::cout << name << " is heading out." << std::endl; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue