[OCLUG-devel] problems with atof()
James Colannino
james at colannino.org
Sun Jul 11 20:46:19 PDT 2004
Christopher Smith wrote:
> On Sun, 2004-07-11 at 16:40, James Colannino wrote:
>
>>Anyone know why the following won't work? I'm compiling with gcc 3.3.3
>>if that makes a difference.
>
>
> You failed to #include <stdlib.h>, which is where atof() is defined.
Wow...how embarrasing... :-P
But this begs the question: if I was trying to use a function that
wasn't defined, then why didn't I get a compiler error?
James
--
My blog: http://www.crazydrclaw.com/
My homepage: http://james.colannino.org/
"There are no uninteresting things; only uninterested people." --G.K.
Chesterton
More information about the OCLUG-devel
mailing list