atof()

Brad House gcc@mainstreetsoftworks.com
Mon Aug 19 11:13:00 GMT 2002


#include <stdlib.h> needs to be added.  The default
data type for an undeclared function is int which
will cause oddities like that.  Always compile
with -Wall when debugging stuff, as it will
report such errors.

-Brad

Reinaldo Nolasco Sanches wrote:


More information about the Gcc mailing list