Code:
[ Copy Object ]
1. Use String Class (Remove unnecessary member functions)


2. Design an object class.


   - Memory area where the object's
   - Object serial number (static int m_nNum)
   - Life value (m_nLife)
   - Display method (name, serial number, life value)


3. Create an object that is circular to the object.
   - CObject ObjectOrg ("hero", 100);
   - Auto-set name ("hero1") value and serial number to 1.


4. Create automatic copying of created objects.
   - CObject Object2 (ObjectOrg);
   - CObject Object3 (ObjectOrg);


 ObjectOrg is basically complete and doesn't have to complete the rest." (Probably)


 5. Create copy, but increase name and serial number
   - "Hero 2" for Object2
   - Increase serial numbers


6. Decrease the serial number when it expires.
To reduce static variables 
(The character-specific number exists.) 
(The death of Hero 2 does not make Hero 1.)


7. Outputs the generation and extinction process using the out.


This is an example that I have to complete now, and I've made class number two. I'd like you to see if there's anything weird about it.