[C++] 상속 : 부모 몬스터 <--- 자식 드래곤
#include #include using namespace std; struct Monster { string name; int hp; int atk; int isChase; Monster(string _name, int _hp, int _atk, bool _isChase) { name = _name; hp = _hp; atk = _atk; isChase = _isChase; } void Attack() { cout
2022.06.10