Main program to demonstrate zombie horde creation and announcement.
[詳解]
#include "Zombie.hpp"
#include <cstdlib>
#include <iostream>
[ソースコード]
|
void | leak_check (void) |
| Checks for memory leaks (OS-dependent).
|
|
int | main (void) |
| Main function of the program.
|
|
Main program to demonstrate zombie horde creation and announcement.
main.cpp に定義があります。
◆ leak_check()
Checks for memory leaks (OS-dependent).
main.cpp の 25 行目に定義があります。
◆ main()
Main function of the program.
Creates a horde of zombies, makes them announce themselves, and performs a basic memory leak check.
- 戻り値
- 0 if the program executes successfully, 1 otherwise.
main.cpp の 44 行目に定義があります。