multiple instances in a loop
Posted on 1998-03-14
I need to create multiple instances of a class inside a loop (reading text input)... say the call
is the call to construct an instance of class A_class, how can I do this in a loop (since I figure that calling the constructor with the same variable name will cause errors...variable already declared...)
As you can guess, I'm a beginner to C++, so please submit clear answers...
Thanks in advance