I am writing an array of 200 structures to a file, using
frwite(&parts,sizeof (parts[0]),200,mydata);

And I want to add to the end of the file, an integer that represents the amount of structures...