For example :


Code:
struct record {
   char name[20];
   float height;
   float weight;
};

struct record RecArray[1000];
How can i save into file call "record.dat" ?
And how i can load from it ?

If the question become like this, then i know how to save and load (Since 'struct record Rec' there are no array ):
Code:
struct record {
   char name[20];
   float height;
   float weight;
};

struct record Rec;
so can somebody tell me how can i save it ?
Thanks