I'm looking for a way my program to create a directory if the directory doesn't already exist, but all of the methods I've seen are either platform or library dependent. It probably doesn't help that I'm just learning C++ though.
Printable View
I'm looking for a way my program to create a directory if the directory doesn't already exist, but all of the methods I've seen are either platform or library dependent. It probably doesn't help that I'm just learning C++ though.
Nothing in the standard library directly addresses the file system. The best you'll find is Boost.Filesystem. I think that may be included in TR2, so it may eventually make it into the standard library, but not for a while.
Ok, Thank You