I have a big problem saving my dynamic data into a binary file.
This is my code:
The result is that the only thing that gets saved is that static data (author, length, height, email, ...), the dynamic data is not saved at all. What to do??
// font structure
typedef struct _FONT_DATA
short Length, Height;
char Author, Email, Date, ID_CHAR, ID_FONT;
// this is the way I use to save my font data, for which I think is wrong
fwrite (FontData, sizeof (FONT_DATA), 1, FNTFile);