I need to dynamically create directory based on input filenames in C++ and it must be cross-platform compatible. I am also familiar with the boost library. The input to the directory creation function will be a string with the following prototype:
void createDirectory (std::string name)
Sample code would be much appreciated.
If Boost is fine, take a look at
create_directory()from Boost.Filesystem.