Re:“People who implement new and improved interfaces always ...
by jonathlee on Friday September 11, 2015 @12:06PM
(#10204463)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.