Thanks for the responses, this problem was also happening when reading complex file strutures (where I couldn't get around it by reading/writing each variable as a character string).
But did a bit of hunting the web and found that like you suggested, when 0x1A is read it is treated as eof by...
Hi, I have got this incredibly strange bug happening with some code I've written and I fear there could be something fundamentaly wrong with (either me or) my system.
Here's the code (it's short, I promise):
======================================
#include <stdio.h>
#define FILE_NAME...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.