954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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
 
gihanbw
Newbie Poster
11 posts since Nov 2010
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: