Re: Re: Read a binary file

From: Manungu Kiveni <mkiveni_at_physics.syr.edu>
Date: Mon, 29 Sep 2008 18:13:06 -0400


Hi Rene,

This is certainly going to work, but if the binary header is saved with a specific format and has a header. Is the same ifstream myFile ("myfile.dat", ios::in | ios::binary) instruction going to work as well? I am getting into trouble so far. Help please.

Joseph

> 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 Tue Sep 30 2008 - 00:13:15 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 30 2008 - 17:50:02 CEST