¤«¤¾¤¨¥Á¥ã¥ª¡ª¡¢¤³¤³¤ß¥Á¥ã¥ª¡ª¤ËÂФ¹¤ë¤´°Õ¸«¡¢¤´Í×˾¤ò¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤¹¡£
¥æ¡¼¥¶¤Î³§ÍͤξðÊó¸ò´¹¤Î¾ì¤È¤·¤Æ¤â¡¢¤´³èÍѤ¯¤À¤µ¤¤¡£
·Ç¼¨ÈĹӤ餷Âкö¤Î¤¿¤á¡¢Åê¹ÆÆâÍƤò³Îǧ¤µ¤»¤Æ¤¤¤¿¤À¤¤¤¿¸å¡¢¸ø³«¤¤¤¿¤·¤Þ¤¹¡£
¤¤¤Ä¤â¤ªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹¡£
ºï½ü¡¢Êѹ¹¡¢¿·µ¬¤Î¥¹¥Æ¥Ã¥×¿ô¤ò´Ø¿ôËè¤Ë»»½Ð¤·¤Æ¤¯¤ì¤ë¥½¥Õ¥È¤È¤¤¤¦»ö¤Ç¡¢¸¡º÷¤ÎËö¤«¤¾¤¨¥Á¥ã¥ª¤Ë¤¿¤É¤êÃ夤ޤ·¤¿¡£
¤µ¤Æ¡¢»ä¤Ï¡¢¥¹¥Æ¥Ã¥×¿ô¬Äê¤Î¥ë¡¼¥ë¤ò¡¢Âç¤Þ¤«¤Ë²¼µ¤Î¤è¤¦¤Ë¤·¤Æ³«È¯¤·¤Æ¤¤Þ¤·¤¿¡£
(MISRA-C¤ÎSTXLNÅù¤ÈƱ¤¸¡©)
¡¦Ãæ³ç¸Ì¤Ï¥¹¥Æ¥Ã¥×¿ô¤«¤é½ü³°
¡¦Ê£¿ô¹Ô¤ËÅϤë½èÍý¤Ï1¥¹¥Æ¥Ã¥×´¹»»
¡¦¥³¥á¥ó¥È¡¢¶õ¹Ô¤Î¤ß¤Î¹Ô¤Ï¥¹¥Æ¥Ã¥×¿ô¤«¤é½ü³°
--------sample---------
void test_func() /*step1*/
{
int a,b; /*step2*/
int xxxxxxxxxxxx,zzzzzzzzzzzz,cccccccccccc; /*step3*/
if(a < 100){ /*step4*/
a = funcAAA(xxxxxxxxxxxx,
zzzzzzzzzzzz,
cccccccccccc); /*step5*/
}
else if(a < b){ /*step6*/
b = funcAAA(a,1,1); /*step7*/
}
}
--------sample---------
¤³¤ì¤é¤Î»»½Ð¤¬½ÐÍè¤ë¤è¤¦¡¢²áµî¤Î°Ê²¼¤Îµ»ö¤ò»²¾È¤µ¤»¤Æĺ¤¤Þ¤·¤¿¡£
------------------
¡Ê£¿ô¹Ô¤Ë¤ï¤¿¤ë¼Â¹Ô¹Ô¤Î¥¹¥Æ¥Ã¥×¿ô»»½Ð¤Ë¤Ä¤¤¤Æ
http://fortissimo.bbs.coocan.jp/?m=listthread&t_id=134&summary=on
¢Ãæ³ç¸Ì¤Î¤ß¤Î¹Ô¤ò¥¹¥Æ¥Ã¥×¿ô¤«¤é½ü¤¯ÊýË¡¤Ë¤Ä¤¤¤Æ
http://fortissimo.bbs.coocan.jp/?m=listthread&t_id=171&summary=on
------------------
¤·¤«¤·¡¢¾åµ¤Îµ»ö¤òÂбþ¤¹¤ë¤È¡¢¡¤ÎÊý¤À¤±¤Ç¤ÏÃæ³ç¸Ì¤¬¥«¥¦¥ó¥È¤µ¤ì¤Æ¤·¤Þ¤¤¡¢¢¤À¤±¤Ç¤ÏÊ£¿ô¹Ô¤¬¾åµsample¤Ç¤¤¤¦¤È3¥¹¥Æ¥Ã¥×ʬ¤Ç¥«¥¦¥ó¥È¤µ¤ì¡¢¡¤È¢¤òÁÐÊýÆþ¤ì¤ë¤È¡¢ifʸÅù¤Î¡Ö¡¨¡×¤¬Æþ¤Ã¤Æ¤¤¤Ê¤¤¥¹¥Æ¥Ã¥×¤¬·×¬¤µ¤ì¤º¡¢¤¦¤Þ¤¯¤¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤â¤·µ¹¤·¤±¤ì¤Ð¡¢ÀßÄêÊýË¡Åù¡¢¶µ¤¨¤Æ失¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
°¿¤¤¤Ï¡¢¸½¾õ¤Ç¤Ï¼Â¸½¤ÏÆñ¤·¤¤¤Ç¤·¤ç¤¦¤«¡£
¤ª¼ê¿ô¤ò¤ª³Ý¤±Ãפ·¤Þ¤¹¤¬¡¢¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£
¥³¥á¥ó¥È
¥¸¥§¥¤¥½¥ó¤µ¤Þ
¤«¤¾¤¨¥Á¥ã¥ª¡ª¤Î¤´ÍøÍѤò¤´¸¡Æ¤¤¤¤¿¤À¤¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¡¦Ãæ³ç¸Ì¤Ï¥¹¥Æ¥Ã¥×¿ô¤«¤é½ü³°
¡¦Ê£¿ô¹Ô¤ËÅϤë½èÍý¤Ï1¥¹¥Æ¥Ã¥×´¹»»
¡¦¥³¥á¥ó¥È¡¢¶õ¹Ô¤Î¤ß¤Î¹Ô¤Ï¥¹¥Æ¥Ã¥×¿ô¤«¤é½ü³°
¾åµ¤Î¾ò·ï¤ËÂбþ¤¹¤ë¾ì¹ç¡¢²¼µ¤ÎÄêµÁ¥Õ¥¡¥¤¥ë¤òÍøÍѤ·¤¿¾å¤Ç¡¢¥·¥¹¥Æ¥àÀßÄê¤Î¥¹¥Æ¥Ã¥×»»½Ð¤òźÉÕ²èÁü¤Î¤è¤¦¤ËÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
ÄêµÁ¥Õ¥¡¥¤¥ë
http://ciao-ware.c.ooco.jp/arc_kazoe/ciao_c_4.zip
ÄêµÁ¥Õ¥¡¥¤¥ë¤Ï¡¢
[MULTJDG]
1
Dlmt
1,0
¤Ë¤è¤ê¡¢
¥Þ¥ë¥Á¥¹¥Æ¡¼¥È¥á¥ó¥È¤ò²þ¹Ô¥³¡¼¥É¤Ë¤¹¤ëÀßÄê
()¤Ë°Ï¤Þ¤ì¤¿²þ¹Ô¥³¡¼¥É¤Ï¥Þ¥ë¥Á¥¹¥Æ¡¼¥È¥á¥ó¥È¤È¤·¤Ê¤¤ÀßÄê
¤ò¹Ô¤¤¡¢
[DELSTR]
2
{
}
¤Ë¤è¤ê¡¢
Ãæ³ç¸Ì¤òºï½ü¤·¤Æ¥¹¥Æ¥Ã¥×¥«¥¦¥ó¥È¤¹¤ëÀßÄê
¤ò¹Ô¤Ã¤Æ¤¤¤Þ¤¹¡£
¤³¤ÎÄêµÁ¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤¿¾å¤Ç¡¢
¥Þ¥ë¥Á¥¹¥Æ¡¼¥È¥á¥ó¥È¤ò¹Ô¶èÀÚ¤ê¤È¤·¤Æ¥«¥¦¥ó¥È¤¹¤ë
¥Þ¥ë¥Á¥¹¥Æ¡¼¥È¥á¥ó¥È¥«¥¦¥ó¥È»þ¡¢¹Ô¶èÀڤꥳ¡¼¥É¤ò̵»ë¤¹¤ë
ÀßÄê¤Ç¥¹¥Æ¥Ã¥×¥«¥¦¥ó¥È¤¹¤ì¤Ð¡¢´üÂÔÄ̤ê¤Î¥¹¥Æ¥Ã¥×¥«¥¦¥ó¥È¤¬¤Ç¤¤ë¤È»×¤¤¤Þ¤¹¡£
¤³¤ì¤Ç¡¢°ìÅÙ¡¢¤ª»î¤·¤¤¤¿¤À¤±¤Þ¤¹¤«¡©
¤¿¤À¤·¡¢¥¹¥Æ¥Ã¥×Èæ³Ó»þ¤Ï¡¢¤³¤Î¥Þ¥ë¥Á¥¹¥Æ¡¼¥È¥á¥ó¥ÈÀßÄê¤Ï̵¸ú¤È¤Ê¤ê¤Þ¤¹¤Î¤Ç¡¢¤´Î»¾µ¤¯¤À¤µ¤¤¡£
¤ªÎéÃÙ¤¯¤Ê¤ê¤¹¤ß¤Þ¤»¤ó¡£
ÀßÄê¥Õ¥¡¥¤¥ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
»î¤·¤Æ¸«¤¿¤È¤³¤í¡¢´õ˾Ä̤ê¤ÎÃͤ¬½Ð¤Þ¤·¤¿¡£
°ìÅÙ¤³¤ì¤Çºî¶È¤ò¿Ê¤á¤Æ¤ß¤è¤¦¤È»×¤¤¤Þ¤¹¡£
¤Þ¤¿ÉÔÌÀ¤ÊÅÀ¤Ê¤É½Ð¤¿ºÝ¤Ë¤Ï¡¢¤ª¼ê¿ô¤Ç¤¹¤¬¤´½õÎϤª¤Í¤¬¤¤Ãפ·¤Þ¤¹¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£