CPP01
1.0
読み取り中…
検索中…
一致する文字列を見つけられません
randomChump.cpp
[詳解]
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* randomChump.cpp :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2025/04/14 21:08:38 by kamitsui #+# #+# */
9
/* Updated: 2025/04/23 01:34:11 by kamitsui ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
18
#include "
Zombie.hpp
"
19
27
void
randomChump
(
std::string
name) {
28
Zombie
zombie(name);
29
zombie.
announce
();
30
}
std::basic_string
Zombie
Represents a Zombie.
Definition
Zombie.hpp:30
Zombie::announce
void announce(void)
Announces the zombie.
Definition
Zombie.cpp:48
Zombie.hpp
Declares the Zombie class and the zombieHorde function.
randomChump
void randomChump(std::string name)
Creates a Zombie on the stack and makes it announce itself.
Definition
randomChump.cpp:27
ex00
randomChump.cpp
構築:
1.9.8