I have the path and I need to get the name ofall files in the directory whos extention is *.___
how might I go about doing this on both windows and *.nix?
Printable View
I have the path and I need to get the name ofall files in the directory whos extention is *.___
how might I go about doing this on both windows and *.nix?
#include <dir.h> ?
Read.Quote:
To access a directory, and the files within it, is a very compiler/OS specific task. It's not practicable to show how to do this for all variations, so here are some examples for various compilers.
Boost::filesystem might provide a way to do this that works on most platforms.
Thanks for an outstandingly worthless post. Save yourself the keystrokes next time.Quote:
Originally Posted by Tonto
:rolleyes:
I'm sure he would, if you ever bothered to read information posted, or bothered to contribute some actual information of what you've tried.