directory listing etc

I am having trouble finding any functions/objects in the standard C++ libraries for doing things like listing the contents of directories (files, subdirectories), finding the size of disc files, or the date/time stamps on disc files, etc. These things seem to me to be very basic functionality you would expect any language to have, but I cannot seem to find anything in the listings on your site. Do I have to go for something like the Boost libraries to get this sort of functionality?

Any help would be greatly appreciated.

There is nothing in the standard library for this. You would have to look in Boost as you suggest or OS-specific APIs. The main reason (I would guess) being that filesystem information is beyond the scope of the language or something.
Im stuck with this issue too. But thanks Zhuge for the info.



Here is the specific Boost library for this: http://www.boost.org/doc/libs/1_44_0/libs/filesystem/v2/doc/index.htm
Topic archived. No new replies allowed.