Possible Duplicate:
Dynamically Growing an Array in C++
I want to create a loop (do while) and create there until a specidfic case(while) objects of a class. Is it possible not to define the number of the objects(for example in an array of objects). I thought to store them in a txt. However is there alternative just with the use of memory??