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
If you can use C++ (as suggested by the selected tags) and boost libraries, Boost filesystem can help you with the create_directory function.
If you don't want to have all boost libraries available in your project, you may download a tool called bcp to extract only the subset you need, in your case boost filesystem and its dependencies.