mkdir
#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.
ben1996123
Junior Poster in Training
82 posts since May 2011
Reputation Points: 10
Solved Threads: 0
There is a library to be include. Not sure what it is called... Something that has sys/... in it.
Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239