how can i find the iterator end-1?
I want this one:
list<Athlete> athletes;
list<Athlete>::iterator athl;
for(athl=athletes.begin();athl!=athletes.end()-1;athl++)
and I have a number of athletes but I want the for loop to stop to the one before the end.