mattKnight
Programmer
There must be a "standard" way of doing this...
Suppose I have a class, which I allocate on the heap
The above limits me to having 5 instances on MyClass.
How can I size or resize that array pMyClassInst as runtime?
What do I need to read up? As you can tell I a little new to C++!!
Take Care
Matt
If at first you don't succeed, skydiving is not for you.
Suppose I have a class, which I allocate on the heap
Code:
MyClass * pMyClassInst[5];
pMyClassInst[0] = new MyClass
The above limits me to having 5 instances on MyClass.
How can I size or resize that array pMyClassInst as runtime?
What do I need to read up? As you can tell I a little new to C++!!
Take Care
Matt
If at first you don't succeed, skydiving is not for you.