Original Post
I''ve been looking for the solution to this question for a while now, but I can''t find a reference to it in my C++ book or anywhere on the internet.
I need to get a list of the files in a directory, and then randomly choose one. But how do you get a directory listing in C++? I can''t find any way to do it.
Help please.
Thanks