Need to find the list of files & folders in the given directory

Hi All,

I need to print the list of files & folders in the directory.

Then i need differentiate file names and sub-folder names in same directory.

If it is a sub folder i need to print the files in the sub-folders also.

Thanks in advance.
You want to use a library like Boost::filesystem, have a look here too: http://www.cplusplus.com/forum/general/3221/
Thanks,

I need to print files in the sub-folder of sub-folder.
How can i print those files.
Last edited on
Topic archived. No new replies allowed.