Warp <war### [at] tagpovrayorg> wrote:
> Another C function can be used to both parse an integer from a string
> and know if there was one: strtod(). However, its usage is even more
> complicated than atoi().
Yeah, it's strtol(), not strtod(). The latter is to read a floating
point number.
(This shows how clear those C function names are... ;) )
--
- Warp
Post a reply to this message
|