Does anyone know how to create a folder?
Printable View
Does anyone know how to create a folder?
You can't with ISO C++. Perhaps if you posted in the forum that corresponds to your operating system or told us which operating system you use we can be more helpful.
-Prelude
What is an iso?
Win xp pro.
>What is an iso?
International Organization for Standardization. The people who tell us what we can and can't do portably with C++.
>Win xp pro.
#include <windows.h>
CreateDirectory ( "C:\\name", NULL );
-Prelude
internation standards organization me thinks.Quote:
Originally posted by bc17
What is an iso?
Win xp pro.
anyway, they have standards for everything. when prelude refers to iso c++ she speaks of standard C++, which you should be able to take and compile on any standards compliant platform.
Thank you.
Does the NULL make the folder empty?
And what else can you put there?
>Does the NULL make the folder empty?
This may help. I've saved you the horror of trying to search MSDN. ;)
-Prelude
Thankyou.
The windows.h file was not originally included in my compilier.(Borland Turbo C++ Ver 3.0)
So I couldn't search its help file. I have to use it with Dev.