for(int j=0; j<n; j++) // print names of
for(int j=0; j<n; j++) // print names of
{ // all persons
cout << "\nPerson number " << j+1;
PPtr[j]->printName();
}
}
// end main()
Previous slide
Back to first slide
View graphic version