Hi Snuffub,
The answers might partly depend on which IDE/platform you're using...
For A), if you're using MW CodeWarrior under "Classic" Mac OS, then you could just use the standard Mac OS full-pathname format -- "some volume:[some folder:...]:some file" (e.g., "Macintosh HD:Applications:SimpleText Folder:Sample File"). Or, you could even use a partial-pathname beginning with multiple consecutive colons (e.g., to specify a file in some sibling-folder of your app's immediate parent-folder, you could use "::some parent's-sibling folder:some file"). A single initial colon denotes the immediate parent-folder; and, the more initial colons you specify, the higher up you'll "back out" of the immediate parent-folder. (This is similar to the standard DOS/Windows partial-path notation of multiple consecutive dots.)
For B), again, if you're using MW CodeWarrior (or any ANSI-compliant C/C++ compiler) under "Classic" Mac OS, then one relatively standard technique would be to use the 'mkdir' function (it's C but like most C routines, it works okay from C++; you'd just need to #include <stat.h> ). You could specify the desired folder's path in any of the standard Mac OS path formats (it's also best to terminate the path with a colon).
Regards,
--Paul