Iterators

Iterators in the STL are used to step through the values of a container, typically every value, but not necessarily. In resolve, we remove the elements, alter or print them, and then put them back in the container. In the STL, we can do it in place by having a "pointer", ie an iterator, which keeps track of our current position.

There are also rbegin() and rend() which will go backward. There are const_iterators for using on const objects. There are ostream iterators which I don't have time to explain.
Example
isaac jones
Last modified: Wed May 16 17:31:10 EDT 2001