> Yes. that sounds like a better option. I should probably learn
> how to do that, but until now have only been programming with
> standard C++ features.

Like I said, we do this type of thing all the type for ourselves and various

> Any suggestions on how best to write to file? i.e., is it
> better to concatenate a large string and write that rather than
> writing separate small string?? Is there a optimal string
> length to write at a time?

Disk access is always slow. For the most part, any code that must be as fast
as possible will not include disk access. There are times where the data is
organized in such a way that it can be written in a large chunk without a
bunch of conversions. But for many cases, the benefits do not justify
worrying about it.

Jonathan Wood
SoftCircuits Programming