I want to be able to loop through a vector which displays customer details. The problem is, when the vector grows and grows, many of the details will obviously not be in view as it will just loop until the end.
I basically want to be able to print 5 customers out and then use system("PAUSE") or something, so the user has to press enter after every 5 customers to go on and display the next 5 and so on until the end of the vector.
This is my loop.
for(int i = 0; i < custVec.size(); i++)
{
custVec[i].print();
}