8.3) Defining Iterator Variables
Iterator over a vector of double
values - read & write access:
vector<double>::iterator i;
Iterator over a vector of double
values - read-only access:
vector<double>::const_iterator i;
Iterator over a list of strings - read-only access:
list<string>::const_iterator i;
Iterator to move backwards over a list of strings:
list<string>::reverse_iterator i; list<string>::const_reverse_iterator i;