I put the file close after all the creation of objets and that worked just right thanks for that tip.
Type: Posts; User: Kakashi
I put the file close after all the creation of objets and that worked just right thanks for that tip.
My code works fine with one object created by the book constructor and writes to both the object.dat files and the text.dat file, the problem is when I add more than one object, it overwrites (i...