|
(o) file-mode: what about 9999999999? respect number of chars for max int range |
|
|
|
|
1 |
error-handling: |
error-handling: |
2 |
(o) no (zero) arguments (switch/case?) |
(x) error for no (zero) arguments |
3 |
(o) non-int arguments in range mode |
(o) non-int/numeric arguments in single- and range mode |
4 |
(o) use strtol instead of atoi for error detection |
(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 |
|
(o) is there a predefined constant for "-1" instead of "exit(-1)"? |
7 |
|
(o) what about (e.g.) "00000000000000000000000000009"? |