Hello,
How can I use fwrite() and fseek() in order to write data in the
middle (or anywhere else) of a file without overwriting existing data
?
People told me that I should load the file into memory (a variable)
and use concatenation.
But, according to me, It isn't clean to load an entire file into
memory... Imagine a huge file of 5 GB !!!
Thanks,
--
Helix
How can I use fwrite() and fseek() in order to write data in the
middle (or anywhere else) of a file without overwriting existing data
?
People told me that I should load the file into memory (a variable)
and use concatenation.
But, according to me, It isn't clean to load an entire file into
memory... Imagine a huge file of 5 GB !!!
Thanks,
--
Helix
Comment