cpp w/DOS line feeds

Matthias Urlichs smurf@noris.de
Sun Jan 31 23:58:00 GMT 1999


Per Bothner:
> > Four. When you compile and/or run the code on a Mac, you might get the
> > equivalent of \n\r when reading DOS files.
> Presumably only when opening the file in text mode - not when opining
> it in binary mode?
I've heard of at least one compiler which switches the ASCII codes
of \r and \n.  Thus, if you use code compiled by this thing, and if you
open the file in text mode, it would come out OK again.  :-/

Matthias Urlichs  |  noris network GmbH   |   smurf@noris.de  |  ICQ: 20193661
The quote was selected randomly. Really.    |      http://www.noris.de/~smurf/
Everyone complains of his memory, no one of his judgement.

More information about the Gcc mailing list