home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 16564 < prev    next >
Encoding:
Text File  |  1992-11-15  |  741 b   |  20 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!ukma!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon
  3. From: gordon@osiris.cso.uiuc.edu (John Gordon)
  4. Subject: Re: problem with foef()
  5. References: <92316.213238U17868@uicvm.uic.edu>
  6. Message-ID: <BxrpyI.KGr@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Sun, 15 Nov 1992 17:30:16 GMT
  10. Lines: 8
  11.  
  12.  
  13.     The problem is that feof() cannot predict EOF.  EOF will only occur
  14. when the file pointer is at the end of the file, and another read is
  15. attempted.
  16.  
  17. ---
  18. John Gordon                        My incredibly witty saying has been 
  19. gordon@osiris.cso.uiuc.edu         Politically Corrected into oblivion.
  20.