Does anyone know how to create a folder?
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
My best code is written with the delete key.
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
My best code is written with the delete key.
internation standards organization me thinks.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.
hello, internet!
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
My best code is written with the delete key.
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.