Mail Archives: djgpp/1997/05/01/13:25:00
Subject: Time:09:59
OFFICE MEMO cout << (double) Date:5/1/97
Recalling the problem:
cout << (int) 4 << " " << (double) 4.5 << endl;
Gave
4 0.//////
when my program was compiled under gpp version 1.something and run
on my 486SX.
The two pieces of advice were "try a different processor" (i.e., you need
to upgrade hardware) and "try upgrading to gpp version 2" (i.e., you need
to upgrade software).
These both worked. I was mildly surprised.
go32 <myprog compiled under v1.something>
gives
4 4.5
on a Pentium (i.e., works fine)
and
go32-v2 <myprog compiled under gpp version 2.something>
gives
4 4.5
on my 486SX.
Meanwhile, the mail system internal to my company got messed up, my
forwarding address was corrupted and I haven't gotten any mail from
djgpp list or anywhere else off lab in about a week, so I haven't
gotten any other advice that wasn't also copied directly to me.
Thanks anyway,
Courtney DOT Duncan AT Jpl DOT Nasa DOT Gov (or try n5bf AT amsat DOT org)
<this all reminds me of working with computers....>
- Raw text -