home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH02
/
A02174.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-10-26
|
284 b
|
6 lines
In this example, the compound statement following the if is
executed if x is greater than 0. Otherwise, the compound
statement following the else is executed. The braces in
this example ensure that the statements following the if and
the else are treated as single statements.