This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: atof()
- From: Andreas Jaeger <aj at suse dot de>
- To: Reinaldo Nolasco Sanches <r_linux at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 19 Aug 2002 19:55:50 +0200
- Subject: Re: atof()
- References: <20020819174953.82701.qmail@web14402.mail.yahoo.com>
Reinaldo Nolasco Sanches <r_linux@yahoo.com> writes:
> I have a problem with atof()... and I don't understand because it...
This is the wrong group for such kind of questions. I guess this
might be even answered in the C FAQ or a good C book.
If you compile your program with warnings enabled, you'll get:
$ gcc -Wall t.c
t.c: In function `main':
t.c:10: warning: implicit declaration of function `atof'
Without a prototype the function is declared as returning int instead
of doubles.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
- References:
- atof()
- From: Reinaldo Nolasco Sanches