outfile.open(data.txt, ios::binary)
outfile.write(reinterpret_cast <char*> (&Object_name), sizeof (Object_type) );
I know you can use this command. I need to save a couple of classes to a binary how would i do this. Fir example it is a team roster and i need to save each player in binary and the player information. How would i got upon doing that. Plz just explain don't right the program out. Thanks