home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH02
/
A02171.TXT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-11-15
|
281 b
|
6 lines
You can use an if statement to alter the flow of control in a C++
program. Here, one of two assignments statements is executed. If
"a" is greater than "b", the value of "a" is assigned to the object
"x". If "a" is not greater than "b", the value of "b" is assigned
to "x".