Re: Backslash n [OT] was Line Separator and Paragraph Separator

From: jon@hackcraft.net
Date: Fri Oct 24 2003 - 05:43:09 CST


> > Still, I stand by saying that \n is defined in C++ as LF and \r as CR,
> because
> > that's sitting in front of me in black and white.
>
> Yes, true. But that does *not* mean that (int)'\n' can be counted on to
> be 10

Of course, given that any of a variety of character encodings could be in use
any guarantee that (int)'\n' == 10 would violate the definition of \n as LF.



This archive was generated by hypermail 2.1.5 : Thu Jan 18 2007 - 15:54:24 CST