That is precisely the point: if a fixed size array is used, taking the sizeof the struct will reflect the array size. If a dynamic array is used, then the part about storing the size or using a...
Type: Posts; User: laserlight
That is precisely the point: if a fixed size array is used, taking the sizeof the struct will reflect the array size. If a dynamic array is used, then the part about storing the size or using a...
I am not sure about best, but it is a solution.
Incidentally, have you considered say, using SQLite? It has been described by its own author as a substitute for fopen(), and depending on your...
Your favourite editor (including vi clones and emacs) may support hex editing, or just need a plugin to augment it with hex editing functionality.
That would be fine: after all, when you read back from file, you can ignore whatever is after the null character, as is the normal approach for null terminated strings. Alternatively, you can store...
Examine the file's contents by some other method :)