1 |
joko |
1.1 |
error-handling: |
2 |
joko |
1.2 |
(x) error for no (zero) arguments |
3 |
joko |
1.5 |
(x) non-int/numeric arguments in single- and range mode |
4 |
joko |
1.2 |
(x) use strtol instead of atoi for error detection |
5 |
|
|
(x) what about 9999999999 (ten 9s)? respect number of chars for max int range |
6 |
joko |
1.5 |
(x) is there a predefined constant for "-1" instead of "exit(-1)"? |
7 |
|
|
(x) what about (e.g.) "00000000000000000000000000007" in file-mode? |
8 |
|
|
|
9 |
|
|
bugs: |
10 |
|
|
(x) bug with reading numbers from file after introducing strtol |
11 |
|
|
(x) what if line in file exceeds length of buffer? |