================================= ================================= ================================= //기본 상본 AAA 를 만든다 class AAA { public: AAA(); ~AAA(); virtual void init(); } class BBB : public AAA { public: BBB(); ~BBB(); void init(); int a; int b; } class CCC : public AAA { public: CCC(); ~CCC(); void init(); int a; } map mTest; mTest[1] = new BBB(); mTest[2] = new CCC(); //이렇게 되었다고 하자 그러면 ..