Hope someone can help me.
I need to create a user specified number of differntly named instances of a object, in a loop for example.
Just in case I havent explained clearly:
User inputs the number of boxes they want
program then creates this number of boxes from the class Container
Container box1();
container box2();
and then some of the boxes get stuff added to them.
however since i dont know how many boxes are going to be created, i must have a loop that creates each box, named similarly as above for as many boxes as the user requires.



LinkBack URL
About LinkBacks


