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.
Edit: I think I've found a better way to do what I want for this particular task. I'll leave the question in place in case anyone feels like answering it. My google-fu is weak, so I'm hoping someone ...