When writing a structure to a file, you need to ensure that you specify the proper structure size. The sizeof keyword is obviously the way you determine the size, but what exactly are you getting the size of?
Continue reading
What’s the sizeof That?
Reply