For those that are curious, I discovered a page explaining what the compiler was doing
The size of my structure is not what I expect it to be
Compiler specific pragma fixes the problem
...
Type: Posts; User: A10
For those that are curious, I discovered a page explaining what the compiler was doing
The size of my structure is not what I expect it to be
Compiler specific pragma fixes the problem
...
The size of the following struct should be 14 bytes. It appears to be 16 bytes. When I write it to a binary file, two bytes seem to be inserted after the first two bytes. The two erroneous bytes have...