R
raphfrk
I was wondering if there is a standard macro that will evaluate to the
directory separator character in the OS that the compiler is
targeting.
For example, in UNIX, it would be / while in windows it would be \
A filename could then be built up using
sprintf( filename , "directory%sfilename", MACRO );
Alternatively, is there a clean way to do it ?
directory separator character in the OS that the compiler is
targeting.
For example, in UNIX, it would be / while in windows it would be \
A filename could then be built up using
sprintf( filename , "directory%sfilename", MACRO );
Alternatively, is there a clean way to do it ?