i'm trying to create a "backup" feature in my school project. what i want to do is, save all the data from the two struct arrays that i'm using into one .dat file.
how can i do it?
Medico listaMedico[mTAM]; //<---- struct array #1
Paciente listaPaciente[pTAM]; //<---- struct array #2