Quote:
|
Originally Posted by WhoCares
for binary files, use feof() function, don't use EOF macro.
|
What the reason for such recommendation? According to MSDN
Quote:
|
To indicate a read error or end-of-file condition, getc and getchar return EOF
|
I've used EOF for more that 10 years in multiple progs, and never encountered any problem.