Boost logo

Boost Users :

Subject: Re: [Boost-users] Filesystem: Choose random file from directory
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2012-06-22 22:25:36


Can you rename your files as numbers?

That way you just generate a number that you use to build the file name to
open?

Otherwise I don't know if iterating through files with boost::filesystem is
"fast".

Joel Lamotte.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net