$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-11-22 13:07:46
Christian Henning wrote:
> Pedro, I have been using iostream's file_sink and file_source with the
> binary flag and everything is working fine.
Glad to hear it.
> One hint, if you're
> opening file with that flag I would use the read() or write() of the
> std:: fstream interace, only. I have had bad experience with all those
> operator >>() .
The formatted i/o operators such as << and >> treat whitespace specially and so
aren't well suited for binary i/o.
> Greets,
> Christian
-- Jonathan Turkanis www.kangaroologic.com