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