CPP01 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
main.cpp ファイル

Demonstrates the interaction between HumanA, HumanB, and Weapon classes. [詳解]

#include "HumanA.hpp"
#include "HumanB.hpp"
#include "Weapon.hpp"
#include <iostream>
main.cpp の依存先関係図:

[ソースコード]

関数

int main ()
 Main function of the program.
 

詳解

Demonstrates the interaction between HumanA, HumanB, and Weapon classes.

main.cpp に定義があります。

関数詳解

◆ main()

int main ( void  )

Main function of the program.

Creates instances of HumanA and HumanB, equips them with weapons, and makes them attack to demonstrate their behavior.

戻り値
0 if the program executes successfully.

main.cpp31 行目に定義があります。