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

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 http://www.freelists.org/list/programmingblind

Other related posts: