Re: getc() function and end of file
- Posted by David Cuny <euphoria_coder at HOTMAIL.COM> Apr 06, 2001
- 347 views
Ted Fines wrote: >Anyway, my program always stops after only reading about 38,400 bytes. It >appears that getc(infile) is returning -1 (a ctrl-Z presumably), causing >the program to quit. Did you open it in binary mode? If not, that could be your problem. -- David Cuny