Hi all, here is the problem :
I use the standards classes provided by fstream.h to do some stuffs on files. These stuffs are :
-inserting(at the beginning) data to a file
-deleting the inserted data
For the moment I have to re-create the file when I do the preceding operations i.e. to insert data I create a new file then I copy the data and the rest of the whole file.
This method is quite expansive, are there other issues?
It might be physically impossible.
--
Globos
I use the standards classes provided by fstream.h to do some stuffs on files. These stuffs are :
-inserting(at the beginning) data to a file
-deleting the inserted data
For the moment I have to re-create the file when I do the preceding operations i.e. to insert data I create a new file then I copy the data and the rest of the whole file.
This method is quite expansive, are there other issues?
It might be physically impossible.
--
Globos