Re: checking for end of file, was...C# Writing to a file

  • From: "Bill Gallik" <BillGallik@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 9 May 2010 11:01:59 -0500

Doesn't C# have a #define for EOF?

Then depending on the function used to read from the file you would either check for the character being equal to EOF or the character pointer being equal to EOF.

----
Holland's Person, Bill
E-Mail: BillGallik@xxxxxxxxxxxxxx
- "With most men, unbelief in one thing springs from blind belief in another." - German Aphorist, Georg Christoph Lichtenberg (1742 - 1799)
__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: