â¦â¦ã¨ãããã¨ã§ã漸ãCãåãé¢ãã¾ããã
ï¼ã¶æããã£ãã
ã¡ãããã
ããã¦ä»ããã®åå¿ã
ã©ãã ããã¨ãã§ãã(ç¬) åãããã®ãã¼ãã³ã°ã¨ãã¯ããããããã ãããã©ã ãã®ç¨åº¦ã®ãããæ¼ç®ã§æ©ãã§ã©ãããã®ãã¨ã ãã¨ã¯ã¾ãããã¯ãã§ããããããã¯ãã¦ããã¨ã¯æããã©ãã
404 Not Found
ãã¼ãããããæ¼ç®ã§ã¯ãªãã¦ã
ãã®ãããæ¼ç®ã®çµæãã©ããªã£ã¦ããã®ããèªã¿åãã¥ãããã§ãããããã¨æã£ã訳ãªã®ã§ãã
ãã§ããã®ãããã¯ã©ããªå¹æãåã¼ãã®ï¼ãã¨ããæãã§ã
ãããéå»ã®èªåãèªãã ããããã¤ã¯ãã¨ãã ï¼ãã¨ãæããã§ãããããã©ãã
hoge_flag |= HOGE_FLAG;
...
if (hoge_flag & HOGE_FLAG) {
hoge_flag &= ~HOGE_FLAG;
}
ãè³ãã¨ããã«åºç¾ãããã§ããããããç«ã£ã¦ããã¨ã©ããªãã®ï¼
ã£ã¦ãããã¨ã解ãã¥ããã§ãããã¨â¦â¦ã
if (flag & HAVE_ITEM_FLAG) {
...
}
ã¨æ¸ãã¦ããã¨ãã
ã¢ã¤ãã ãæã¤ãã¨ãã§ããã®ããããã¨ãæã£ã¦ããã®ãããããªããªã£ããã
ï¼ä¾ãã°ãã®å ´åã¯ãæã¤ãã¨ãã§ãããã§ããï¼
canHaveItem(); hasItem();
ã¨ããªããªãã
ã¨ãæã£ã訳ã§ãã
ãã©ã°ãã
CAN_HAVE_ITEM
HAVE_ITEM
ã§å¥ãã¦ããã°ããã®ãããããªããã§ããããã
ã§ãããã£ã±ãããã¯å½åãªãã§ãããããã
ããã¯å¥ã«Cåºæã®åé¡ã§ã¯ãªãã¦ã
ã¿ãããããã®è¨ãããã«ã
Cã ããã¨ãããããæªãå½åç¿æ £ãã®è©±ã¨ããããã§ãå®å ¨ã§ èªãã®ã«å©ããåæ å ±ãã¤ãã¦ãã éçåä»ãä¸æ³ãã¨ãã話ãç¹ã«éçåã¨å¯èªæ§ã®è©±ã«è¦ãã¦ãã¤ã¾ããè¯ãããéçOOPL VS åçOOPL in 大è¦æ¨¡éçº ã«é¡ä¼¼ãã話ãªã ãã«æãã¾ããï¼ãã¹ãªã¼ã?ï¼
2008-11-23 - みねこあ
ã§ããã®ãããããã
æ
ã«åã«ãååéè¦ããéçåä»ãã ãã«é ¼ã£ã¦ã¯ãªãã¬ãã¨ãããã¨ãªã®ããããã¾ããã
ä½ã¨ãªããCã®ãã©ã°ã®ããã¯ãã¼ãã³ã°ã§ãããªããã¨æããã§ãããã
ãããã¯ãããããã¼ã¯ãã§ã¯äººã«ä¼ãããªã訳ã§ã
ãããæ°ã«ãªã£ãã®ããããã¾ããã
ã§ãããããã¦ã
ãã¼ãã§ãããããªå¿ã®ä¸ã®ã¢ãã«ãã¿ããªã§å ±æããã«ã¯ãååã大äºã ã¨ãããã¯æãããã¨ã¯ã³ã¡ã³ããã¨ããããã§ãååéè¦ãã³ã¡ã³ãæ¸ã~ï¼ââã¨è¨ããããã ãã®è©±ã«ãªã£ã¡ããã¨æãã¾ãã
2008-11-23 - みねこあ
ã幸ãã¸ã®éãããããªããªã¨ã
ã½ã¼ã¹ã¯èªåã®ããã§ã¯ãªãã¦ã
人ã®çºã«æ¸ãã®ã ã¼ï¼
ã¨å¸¸ã
è¨ã£ã¦ããèªåããã£ã¨é å¼µãå¿
è¦ãããããªãã§ããã©ãã
ã ãã ãC ã¯ã¯ã³ãã³åããã¨è¨ããã¦ãã¾ãã¨ããã¡ããï¼åã«é ·ãããã°ã©ããæ¸ããé ·ãã³ã¼ããªã ãã§ãï¼ãã¨ãC ãåºããããªã£ã¦ãã¾ãã®ã人æ ã ãªããã¨ãããã¯æã£ãã®ã§ããã
ãã®éãã§ãããã¾ããorz...