Skip to main content
1 vote
Accepted

Lab 4 using feof() function

The problem results from the nuance of the feof() function. The end of file flag isn't set until an attempt is made to read past the last byte of the file. In this case, the prior fread() call will ...
Cliff B's user avatar
  • 69.1k
1 vote

Pset4 Recover, help with writing images correctly

I'm not getting a really clear picture of the problems you're having (no pun intended), but I'll tackle it anyways. First, you don't need to know how big the files are, just that their data will be ...
Cliff B's user avatar
  • 69.1k

Only top scored, non community-wiki answers of a minimum length are eligible