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

Main entry point for the FragTrap program, building upon EX01. [詳解]

#include "ClapTrap.hpp"
#include "DiamondTrap.hpp"
#include "FragTrap.hpp"
#include "ScavTrap.hpp"
main.cpp の依存先関係図:

[ソースコード]

関数

int main ()
 Main function.
 

詳解

Main entry point for the FragTrap program, building upon EX01.

This file demonstrates the usage of the ClapTrap, ScavTrap, and FragTrap classes. It creates instances of each class and calls their respective member functions to showcase their functionalities, including attacks, taking damage, repairing, ScavTrap's guardGate, and FragTrap's highFivesGuys. It also illustrates the construction and destruction order of FragTrap objects.

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

関数詳解

◆ main()

int main ( )

Main function.

戻り値
0 if the program executes successfully.

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