I've had a look through the iostream stuff but my head can't think straight this late in the week.  I require two things:

1. The ability to truncate and grow a file.  I see the seek/write functions which I'm guessing will take care of my growth needs but what about truncation?

2. The ability to memory map a file.  I saw mapped_file which I guess is the one.

Simon