What would be the easiest method of finding how many as well as all the filenames present in a selected directory? After that, I'm pretty sure I can store the information into a vector of some sort.
Thanks in advance.
What would be the easiest method of finding how many as well as all the filenames present in a selected directory? After that, I'm pretty sure I can store the information into a vector of some sort.
Thanks in advance.
It depends on your platform, though there are cross platform libraries available such as Boost.Filesystem (which would make for a pretty easy way to do what you want to do, I think).
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)