How can I determine the list of files in a directory from inside my C or C++ code?
I\'m not allowed to execute the ls command and parse the results from
ls
Try boost for x-platform method
http://www.boost.org/doc/libs/1_38_0/libs/filesystem/doc/index.htm
or just use your OS specific file stuff.