POV-Ray : Newsgroups : povray.off-topic : My first C++ program : Re: My first C++ program Server Time
1 Oct 2024 00:06:03 EDT (-0400)
  Re: My first C++ program  
From: Warp
Date: 20 Sep 2008 04:47:04
Message: <48d4b888@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.