How would you make a directory for some files using Dev-C++?
This is a discussion on Make a Directory within the C++ Programming forums, part of the General Programming Boards category; How would you make a directory for some files using Dev-C++?...
How would you make a directory for some files using Dev-C++?
What exactly do you mean by that?
Website(s): http://www16.brinkster.com/trifaze/
E-mail: trifaze_mattu@lycos.com
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Like, make a directory to store some data. Like this:
all the executables and stuff are in one directory, and make another directory to store some other stuff. Like when you go to My Computer, and double click on your hard drive(C: drive etc..., if your using Windows), I want it like that. Organized.
That's not exactly what I ment.....this is what I ment:
if you use windows, and go to my computer, and double click on it, you'll notice that everything is organized in folders(most anyways). It all ain't there in one pile. That's what I'm looking to do.
well then you would create directories like that in a structured manner.
the best things in life are simple.
oooookkkk.......so......how would I go about on doing that?
Inside your C++ program you can use system("mkdir myDIR");
to create a directory.