> > 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.