Are the columns filled all the way to the end, or can you have have blank spots? If everything is filled then it sounds easy. Sorry I haven't looked at istream iterators, I use loops.
The iterator design pattern is a commonly used pattern that provides a very useful abstraction. The iterator pattern is used to access and traverse the elements of a collection without the need to ...