Re: [CODE] Ascii pfiles and autowiz

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 06/21/01


"Daniel A. Koepke" wrote:
>
> For Windows users, I suspect this means, but have never personally tested,
> that writing "hello\n" with the mode "w" and reading it back with the mode
> "rb" and a function like, say, get_line() would give you "hello\r".
> Which might be quite confusing... And maybe even undesirable.

It'll give you "hello\r\n" (never tested myself, but knowing the
conventions I can be 99% sure).

Regards, Peter

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST