Help with reading and writing to a file
Michel Bardiaux
mbardiaux at peaktime.be
Fri Jun 11 10:19:39 CEST 2004
Steve Torri wrote:
> So the Group_Set's variables m_speed = 5000 and m_time = 9000. So when
> this is written to a file I should see a 5000 and a 9000 in the file
> if I read it with hexedit.
I suggest you post the hex dump of the file.
> The reader which reads the values back from
> the file uses the macros I described above. When I print out the
> values that I have read from the file I get the following values:
>
> m_speed = 50009000
> m_time = 0
>
> That is the problem I am having.
>
> Stephen
--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41
More information about the gmp-discuss
mailing list