TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MICHAEL RATHBURN
from: CAMERON CLARK
date: 1997-10-21 15:26:00
subject: Re: Help Please

MR> and float check they have input the correct data then output the data but
MR> the float check cocks up please tell me why.
MR>                 if(pi  3.142 )
MR>                 {
MR>                 cout << "\n\tWrong Formula";
MR>                 continue;
MR>                 }
    Try using a single or double instead of float, it will work then.
    The compiler is convertint the constant '3.142' into another format
    other than float, this is my guess.
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.