I performed a dry run. I think it would be better to use
if (*src <= '9')
rather than
if (isdigit(*src))
What do you think...
Sutanu
If that works better, go ahead. Many times the standard functions are implemented faster than writing an equivalent, but not always.
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004