Arrays of Pointers to Objects
{ person* PPtr[100]; // array of pointers to persons
int n = 0; // number of persons in array
do { // put persons in array
PPtr[n] = new person; // make new object
PPtr[n]->setName(); // set person's name
cout << "Enter another (y/n)? "; // enter another
cin >> choice; // person?
while( choice=='y' ); // quit on 'n'