View Single Post
Old Jan 26th, 2005, 7:08 AM   #2
drewlander
Newbie
 
drewlander's Avatar
 
Join Date: Jan 2005
Location: Pittsburgh, PA
Posts: 16
Rep Power: 0 drewlander is on a distinguished road
Send a message via AIM to drewlander
I can see that there are no semicolons in lines 27 and 29;
if + is to be a char then you need single quotes around them (lines 37 and 39 '+' '-');
and for lines 41 and 42 you have things backwards
floor returns a value, therefore you have to assing value.mag to the leftof it like so:
value.mag=floor ( value.initial );
same with line 42
value.fract = value.initial - value.mag;

doing so made it compile fine for me, hope that helps!
__________________
On and on....
drewlander is offline   Reply With Quote