Hello again
Thanks for the quick reply, but I found out what I did wrong. I used the command:
stream = fopen(File, "r+");
and thought I opened a file in binary mode... no wonder
it didn't act like a binary file! :)
I didn't see that I needed a b to indicate binary mode.
Thanks anyway
Fast response, I love this site.
|