How to find Is the directory contains only files not sub folders

Sep 27, 2012 at 10:54am
Hi,

I need to find whether the directory contains the files not sub folders ???

for example directory C:\Test contains 3 files only

how can i find???

Thanks,
Last edited on Sep 27, 2012 at 10:54am
Sep 27, 2012 at 4:12pm
Use a Boost library, boost::filesystem for example.
Topic archived. No new replies allowed.