Help with reading and writing to a file

Steve Torri storri at torri.org
Thu Jun 10 18:06:12 CEST 2004


On Thu, Jun 10, 2004 at 11:02:40AM -0500, Steve Torri wrote:
> I am trying to understand why the following two files cause the
> following condition to occur. When two mpf_class objects, m_speed and
> m_time, are written in the File_Writer class (attached) to a file all
> appears to be fine. When I read those two values from the file all the
> data is in m_speed and the m_time is 0. Is there any reason for this?
> 
> Stephen

Its helpful to give the two example files isn't it?

Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input.tar.bz2
Type: application/x-bzip2
Size: 3788 bytes
Desc: not available
Url : /list-archives/gmp-discuss/attachments/20040610/ae5caa38/input.tar.bin


More information about the gmp-discuss mailing list