Re: Read a binary file

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 29 Sep 2008 10:29:02 +0200

    ifstream myFile ("myfile.dat", ios::in | ios::binary);

Rene Brun

Manungu kiveni wrote:
> Hi Rene,
>
> I wanted to know how do you read a binary file in root. Binary format
> is a bit peculiar and if you use the same if stream and of stream as
> for the other format, nothing works. Any suggestions?
>
> Thank you.
> Joseph
>
>
Received on Mon Sep 29 2008 - 10:29:50 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 30 2008 - 05:50:03 CEST