Larsen wrote, On 04/10/08 23:55:
Hi
I use Djgpp, for create a folder internal
to another folder, as it gets?
char string1= {"folder1"};
You don't need the braces and in re-typing you have introduced an error.
Please copy and paste code in rather than re-typing or how are people
meant to guess which are errors in your real code and which are typos in
your post?
char *string1 = "folder1";
Also you would be well advised to avoid names starting with str since if
string.h is included a lot are reserved for use by the implementation
and/or new standards and some implementations *do* declare a few extra
identifiers.
_mkdir(string1);
_mkdir is an implementation specific extension on DOS/Windows groups, so
you need to ask in a DOS/Windows/DJPP group. There are plenty to choose
from. Alternatively look up the function on
http://msdn.microsoft.com
and see what that says.
--
Flash Gordon
If spamming me sent it to
sm**@spam.causeway.com
If emailing me use my reply-to address
See the comp.lang.c Wiki hosted by me at
http://clc-wiki.net/