- Joined
- Mar 12, 2007
I'm teaching my self c++ and have been doing pretty well but I'm stuck on something for a small project I'm doing. I have a class set up that I want to be able to create multiple instances of. I understand how to make how ever many number of a class I want by giving it a new name. The problem is that the total of instances of this class won't be determined until the programs runtime. So can I make a class name out of a variable? Any help would be great