Use either:
1) A linked list of dynamically allocated objects.
2) Since 1) is a pretty advanced topic, you can make a dynamic array containing the objects, something like this:
Code:
//Create a pointer
Container* ConPtr;
...User input
//Allocate memory
ConPtr = new Container[NrOfObjects];
//Check if the allocation was successful
if(ConPtr != NULL)
{
for(int i=0; i<NrOfObjects; i++)
{
//Since the constructor doesn't work on dynamically allocated
//objects, you have to run a similar function on them
ConPtr[i].SetInitialvalues();
}
...Do whatever you want
//Deallocate the allocated memory
delete[] ConPtr;
}