First off, a little windows thing, for you... Press F1 on your keyboard. That's the standard windows help key. In Pelles C, F1 will bring up full documentation on the toolchain, IDE and librairies. If you place your text cursor on a coloured keyword, pressing F1 brings up detail on that keyword for you. Help files are our friends!
Amen.
As are Wiki, google, etc. Tried those first, of course.
And as is my luck, "mkdir" is not a "colored" word.
[sigh].
Also note that in the help file non-standard functions are clearly identified. In the library they are also prefixed with an underscore. Hense timo's suggestion for the -Go compiler option, which is enabled in project settings by the Define Compatibility Names option.
Oh!
And I stumbled around, finding the CCFLAGS in the Macro Tab and added it there.
.....The luck of fools.........
Since every OS has it's own idea about the right and wrong ways, C-99 does not
include any standard way of searching or manipulating directories. So you have two
choices, you can either use the direct.h header and _mkdir() or go to the Windows
API and use CreateDirectory()
More to learn....Is that true for console app, windows app. both???
The catch is that you can only create one directory at a time ... _mkdir("fred\barney"); ... isn't going to work and since windows uses backslashes
you have to "escape" them like this... _mkdir("fred\\barney"); ... to get the single
backslash for your pathname.
Funny thing about them slashes and backslashes.................
From unix/linux, I'm kinda of used to escaping darn near EVERYTHING!
Shouldn't be a huge problem....gotta enough of those just learning
something new......
Thanks for all the help.
cheers,
johnd