Wednesday, 29 May 2013

How to make a folder using c++


This is the source code of making folder using c++:
 in this code i use my "D" to save the new folder i make. You can store this new folder in any drive you want by giving the address in parentheses. 

#include<iostream.h>
#include<conio.h>
#include<direct.h>

 main()
{
 
       mkdir("D:/myfolder");
       return 0;
}
End

No comments:

Post a Comment