小さい頃はエラ呼吸

いつのまにやら肺で呼吸をしています。


2014-05-31から1日間の記事一覧

【cppcheck】error: Array 'xxx[n]' accessed at index n, which is out of bounds.

はじめに C++の静的解析ツール「cppcheck」でソースコードを静的解析した場合に、以下の警告がでることがあります。 error: Array 'xxx[n]' accessed at index n, which is out of bounds. cppcheckのバージョン v1.65 サンプルプログラム 以下のソースプロ…