MAKE DIRECTORY VC++

C

Chad

Hello people. Im trying to make a directory using ms vc++

Ive been used to Borland and normally id do this..

#include <dir.h>

void main()
{
mkdir("c:\\directory");
return 0;
}

Nice an simple, BUT when I do this in VC++ it tells me that dir.h
doesnt exist! So what do i use?

Thankyou!!
 
G

gabriel

Chad said:
Nice an simple, BUT when I do this in VC++ it tells me that dir.h
doesnt exist! So what do i use?

What Alf was trying to say is that you are asking about functionality that
is not in the language standard, which means, it can vary by platform,
compiler version, or, as you found out, by compiler manufacturer.

I'd suggest a visit to the f--ing docs. How can usenet be easier than
searching the docs?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,417
Latest member
DarrenGaun

Latest Threads

Top