HElp..
Friday 09.19 I must present a little program for my C++ university test.
I remain just a little bug.
I use this code to write my file .DAT
ofstream fileScritturaPartita(nomeFile,ios::binary | ios::out | ios::app);
fileScritturaPartita.write(reinterpret_cast < const char * >(&sfidaDaSalvare),sizeof(Partita));
It works very well but in the object "Partita" there is an array.
I Think above code write on file "Pointers" NOT "value" of the array...
Please How to save values and not pointers???
thanks to everyone helps me pass tih test...