Writing to a file

Say i have a file like the following:

For size 10:
**some data**
For size 100:
**some data**

and so on..
I can overwrite data in a file at a particular position, using seekp(). But Instead of overwriting how would I add information at a particular point?
Thanks,
Last edited on
Topic archived. No new replies allowed.