Posted By: Shining Arcanine | Jun 8th @ 12:31 PM
page 1 of 1
Comments: 1 | Views: 432
If I use fwrite to write a file that contains a single 64bit binary integer, the filesize is 8 bytes, which is what I expect. If I use fwrite in a loop to write a file that contains 1000 64bit binary integers, the filesize is 8026 bytes. Where do the extra 26 bytes come from?

This is on Windows XP SP3 using NTFS on a WD 750GB hard drive.
Matthew van Eerde
Matthew van Eerde
AKA Maurits
If you right-click the file in Explorer and choose Properties, you should see a "size" and a "size on disk." What are these?
page 1 of 1
Comments: 1 | Views: 432