When programming under Windows VC++ gives you this nifty command to change the working directory of the application (assuming you include direct.h)
_chdir(constchar* WorkingDirectoryToChangeTo);
My first set of questions are (1) what is the GCC/G++ equivalent of this command and (2) what include file do I need to include for it?
My second set of questions are (1) what is the #DEFINE to use to specify only Linux GCC/G++ code? For example, to set a C++ section to be Windows ONLY I use the #if defined(_WIN32) directive.