i have a problem on how can i write a linked list structure to a binary file
i am opening a .bin file and get the structures and link it...Code:typedef struct pokemon{ charn name[20]; struct pokemon *next; }pokemon_t;
the problem is how can i write it on the same .bin file?
1. does "ab+" means appending on the last? so does it mean i can't write something on the start or on the middle of the file?