|
|
|
|
|
by jonathlee
3938 days ago
|
|
If isdigit() is the standard library function, that takes/checks a single character. However, parse_integer() takes a full string and parses until it reaches a null or newline. The first character could definitely be a valid digit but the rest of the string could cause a problem. However, I am not a C programmer, so my internet search-guided intuition may be wrong. |
|