回答編集履歴
1
追記
test
CHANGED
@@ -155,3 +155,9 @@
|
|
155
155
|
- 文字列トークンを整数に変換するには strtol() 系の関数を使う
|
156
156
|
|
157
157
|
[https://www.jpcert.or.jp/sc-rules/c-int06-c.html](https://www.jpcert.or.jp/sc-rules/c-int06-c.html)
|
158
|
+
|
159
|
+
> ...
|
160
|
+
|
161
|
+
> sscanf関数による数値変換では、値が表現可能な値の範囲外となるケースの検知が行えない点に注意が必要です。整数オーバーフロー/アンダーフローが発生した場合の動作は処理系依存となります。
|
162
|
+
|
163
|
+
> ...
|