Re: getc() ?? bug

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Mon, 20 Nov 2000 12:06:20 +1100, Derek Parnell <derekp at SOLACE.COM.AU>
wrote:

>One of the cute things about old operating systems like DOS is that they
use
>embedded control characters that mean things in text files. The ASCII-26 is
>the control character that means End-Of-File.
>
>Open the file as a binary file instead of a text file and the problem
should
>go away.
>
  Derek:

   Thats the problem but it seems that if a user wanted to read
   a text file that contained a right arrow character ( a printable
   character ) the interpeter should not return a EOF. I say that
   is a bug.

  Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu