
|
Go to the first, previous, next, last section, table of contents.
if ʸ¤Ë¤Ï
if ( ¼° ) if ( ¼° )
ʸ µÚ¤Ó ʸ
else
ʸ
¤Î 2 ¼ïÎब¤¢¤ë. ¤³¤ì¤é¤Îưºî¤ÏÌÀ¤é¤«¤Ç¤¢¤ë¤¬, ʸ¤Î°ÌÃÖ¤Ë if ʸ
¤¬Í褿¾ì¹ç¤ËÃí°Õ¤òÍפ¹¤ë. ¼¡¤ÎÎã¤ò¹Í¤¨¤Æ¤ß¤è¤¦.
if ( ¼° )
if ( ¼° ) ʸ
else
ʸ
¤³¤Î¾ì¹ç, »ú²¼¤²¤«¤é¤Ï, else °Ê²¼¤Ï, ºÇ½é¤Î if ¤ËÂбþ¤¹¤ë
¤è¤¦¤Ë¸«¤¨¤ë¤¬, ¥Ñ¡¼¥¶¤Ï, ¼«Æ°Åª¤Ë 2 ÈÖÌܤΠif ¤ËÂбþ¤¹¤ë¤ÈȽÃǤ¹¤ë.
¤¹¤Ê¤ï¤Á, 2 ¼ïÎà¤Î if ʸ¤òµö¤·¤¿¤¿¤á¤Ë, ʸˡ¤ËÛ£ËæÀ¤¬¸½¤ì, ¤½¤ì¤ò
²ò¾Ã¤¹¤ë¤¿¤á¤Ë, else °Ê²¼¤Ï, ºÇ¤â¶á¤¤ if ¤ËÂбþ¤¹¤ë¤È
¤¤¤¦µ¬Â§¤¬Å¬ÍѤµ¤ì¤ë¤Î¤Ç¤¢¤ë. ½¾¤Ã¤Æ, ¤³¤ÎÎã¤Ï,
if ( ¼° ) {
if ( ¼° ) ʸ else ʸ
}
¤È¤¤¤¦°ÕÌ£¤È¤Ê¤ë. »ú²¼¤²¤ËÂбþ¤µ¤»¤ë¤¿¤á¤Ë¤Ï,
if ( ¼° ) {
if ( ¼° ) ʸ
} else
ʸ
¤È¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤.
Go to the first, previous, next, last section, table of contents.
|