iterate through a vector using pointer code example
Example: c++ iterate over vector of pointers
for (vector<int Type>:: iter = myVector.begin(); iter != myVector.end(); iter++)
(*iter)->display();
for (vector<int Type>:: iter = myVector.begin(); iter != myVector.end(); iter++)
(*iter)->display();