On Wed 28 Feb 2007, Gast=F3n Aragu=E1s wrote:
> What i want is to read the next file in a directory wen a vgui event
> occur, and i thought in having an iterator as a member of the class
> and in each method call from the event handler, to read the file and
> increment the iterator.
That sounds reasonable. To read the next file, you should simply call
"++it". You should only call the reset() method when you want to
change the pattern you are globbing over.