TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ROBERT DAVIES
from: MANISH MALIK
date: 1998-01-22 14:34:00
subject: I do not under srand thi

-=> Remebering what ROBERT DAVIES wrote to All <=-
 RD> Hello all,
 RD> I'm new to C++ and find that there are parts in the program
 RD> below which I don't understand. If you have a look at lines
 RD> nine and ten
 RD> cout << 1.e3        << endl; //  1000
 RD> cout << 1.e-3       << endl; //  0.001
 RD> Does 1.e3 mean one multiplied by a thousand, and 1.e-3 mean
 RD> one multiplied by minus a thousand?
Well, thats actually means "multiplied by 10 raise to power 3" (or -3).
since 10 raise to power 3 = 1000, and 10^(-3)=.001.
     Me = MANISH MALIK
   E-mail 1 = manish@dolbbs.com            E-mail 2 = blaster@poboxes.com
--- Terminate 5.00/Pro 
 - TerMail/QWK - I cannot remove this Origin Line! :(
--- Maximus 3.01
---------------
* Origin: Delhi Online -=[New Delhi/India]=- (6:606/26)

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™.