#include<windows.h>
int main(){
CreateDirectory ("C:\\deadman", NULL);
return 0;
}
If you want to delete a fodler from the C:\ directory.
#include<windows.h>
int main(){
RemoveDirectory("C:\\deadman");
return 0;
}
Also you can use the system command from c++ to create or delete a fodler. for example
system("mkdir c:\\deadman");
Source:http://icfun.blogspot.com/2008/03/make-directory-using-c-for-windows.html
Thanks