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


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???

Last edited on
Use a Boost library, boost::filesystem for example.
Topic archived. No new replies allowed.