Boost logo

Boost Users :

Subject: [Boost-users] Filesystem: Choose random file from directory
From: Andrej van der Zee (andrejvanderzee_at_[hidden])
Date: 2012-06-22 21:27:32


Hi,

I have a directory with about 500.000 thousand small files in it. I
need to randomly select one of those file. What would be the *most
efficient* way to achieve this?

Thank you,
Andrej


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