#include <direct.h>
int main(){
mkdir("C:\\Program Files\\Bacon");
}
Creates a folder in the folder that the .exe file is in, and is called "Program FilesBacon". I think it's obvious what I wanted it to do. Help please? I'm using codeblocks if it matters.