Microsoft C: Reading binary files.

Roderick Young ryoung at pollux.svale.hp.com
Wed Jun 26 12:16:13 AEST 1991


He's probably checked, but is he sure that he opened the file in
BINARY mode?  A stream opened in character mode will falsely detect
EOF in the manner described.



More information about the Comp.lang.c mailing list