How to create a directory with C code (other than the method of forking and using mkdir) ? Is there anything like dirent.h? dirent.h only allows to read directories. (withou
With the advent of c++17 we have a Filesystem library providing facilities for manipulating files and directory. To create a directory, you can use std::filesystem::create_directory.