warning: array subscript N is outside array bounds of ‘int[100]’ 警告:配列の添字 N は ‘int[100]’ の配列境界の外です… 続きを読む 【C言語】配列の先頭アドレスに配列のサイズを足すと配列の領域外になるバグ
タグ: 配列
【C言語】
配列領域外参照
配列の添字チェックを先に!
(style) Array index ‘idx’ is used before limits check. 警告:配列添字を範囲チェック前に使った[(style)arrayIndexThenCh… 続きを読む 【C言語】
配列領域外参照
配列の添字チェックを先に!
【C言語】
配列の添字の型は何が良い?
warning: the frame size of 40 bytes is larger than 0 bytes 警告:スタックフレームサイズは0byte以上の40byte[-Wframe-larger-than=0… 続きを読む 【C言語】
配列の添字の型は何が良い?