TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KURT KUZBA
from: FERNANDO ARIEL GONT
date: 1997-08-01 03:24:00
subject: QUIERO APRENDER C++

Hello, Kurt!
KK> FA>   What is the "<<" operator used for ?
KK> This is left shift.
KK> Given an unsigned int x = 0x0001:
KK> x << 1   // turns 0x0001 into 0x0010
No... it turns 0x0001 into 0x0002
KK> x << 2   // turns 0x0001 into 0x0100
No.... it turns 0x0001 into 0x0004
KK> x << 3   // turns 0x0001 into 0x1000
No... it turns 0x0001 into 0x0008
You would be right if you were talking about binary numbers.....
But you aren't, are you?
                         Bye-Bye!! :-)
                      Fernando Ariel Gont
 * MikeMayl v1.0 * You can't stop ...THE ROCK N' ROLL                        
...This copy of ProBoard has been unregistered for 994 days!
--- ProBoard v2.15 [EVALUATION]
---------------
* Origin: áugl„nd BBS-8G4-39S1-TLD19a8hrs-33.6Kbps (4:900/214)

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