Cross Platform Way to make a directory including subfolders?
c, c++, cross-platform
Solution
No, however if you're willing to use boost:
boost::filesystem::path dir("absolute_path");
boost::filesystem::create_directory(dir);
There is a proposal to add a filesystem library to the standard library that will be based on `boost::filesystem`. Using `boost::filesystem` and appropriate typedefs will put you in a good position to migrate to the future standard when it becomes available for your compiler of choice.
Problem
Is there a way using the standard c or c++ library to make a directory, including the subfolders that may be required given a string of the absolute path? Thanks