|
Boost Users : |
Subject: Re: [Boost-users] Boost Serialization Difference in Archive Versions
From: Lars Viklund (zao_at_[hidden])
Date: 2014-03-06 13:02:45
On Thu, Mar 06, 2014 at 10:47:46AM -0500, Lynn Gilbert wrote:
> Hope everyone is doing well.
> 4 ifs = new std::ifstream(file.c_str()) ;
Hi,
Just picking some tangential nits, not actually answering your original
question.
You probably want to open your file in std::ios::binary mode to avoid
newline translation and premature EOF.
-- Lars Viklund | zao_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net