>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> The problem is, not to many people here have a Windows
Andre> development system to check. The ifstream in question is not
Andre> opened in binary mode as far as I can tell, so optically it
Andre> should work. Nevertheless, the '\r' show up for the Windows
Andre> people...

How do we open in text/binary mode?

Andre> rtrim('\n') eats a few cycles but does no other harm on *nix.
Andre> At least as workaround it should be ok.

I guess you mean rtrim('\r'). Note that we may have a problem with
mac-style files (with a single \r for line end), so the best would be
to have a stream that just does the right thing. I can't believe that
C++ standards builders did not cater for this need. Or maybe they
thought it was too vulgar for them.

JMarc

Reply via email to