Quote Originally Posted by Memloop View Post
Creating directories and moving files is operating system dependent. Assuming you're using a *nix flavour, you can use mkdir from <sys/stat.h>
mkdir

To move a file/folder you can use the function rename in <stdio.h>:
rename - C++ Reference
YES, I use linux fedora, why following program can't create folders 1-4:
Code:
int main()
 { int i;
    for (i=1,i<5,i++)
    mkdir(i,0777);
}