Mail Archives: djgpp/1996/02/10/10:03:14
In article <310BFB89 DOT 5F7E8E74 AT alcyone DOT com>
max AT alcyone DOT com "Erik Max Francis" writes:
> This is because the backslash means special things in a C string.
> You need to escape the strings, as in:
>
> #include "c:\\djgpp\\lang\\cxx\iostream.h"
Right. FWIW, whilst some applications demand backslashes
(including the user-interface command.com), raw DOS will accept
either forward or backward slashes, as will most applications that
don't actually check or reject forward slashes.
DJGPP, and most other C compilers, accept (prefer?) the non-dos
convention of forward slashes.
Regards,
--
Gordon Scott Gordon AT apis DOT demon DOT co DOT uk Compuserve 100332,3310
Gordon AT multitone DOT co DOT uk
Basingstoke Beekeeper Beekeeper AT apis DOT demon DOT co DOT uk
- Raw text -