From: Andreas Jaeger <aj@suse.de>
To: Reinaldo Nolasco Sanches <r_linux@yahoo.com>
Cc: gcc@gcc.gnu.org
Subject: Re: atof()
Date: Mon, 19 Aug 2002 11:13:00 -0000 [thread overview]
Message-ID: <u84rdqka1l.fsf@gromit.moeb> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2002-08-19 11:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-19 10:49 atof() Reinaldo Nolasco Sanches
2002-08-19 11:03 ` atof() H. J. Lu
2002-08-19 11:09 ` atof() Janis Johnson
2002-08-19 11:13 ` Andreas Jaeger [this message]
2002-08-19 11:13 ` atof() Brad House
2002-08-19 11:18 ` atof() Erik Trulsson
[not found] <Pine.LNX.4.33L2.0208191404020.11506-100000@sol.galaxy.acm.jhu.edu>
2002-08-19 12:57 ` atof() Reinaldo Nolasco Sanches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u84rdqka1l.fsf@gromit.moeb \
--to=aj@suse.de \
--cc=gcc@gcc.gnu.org \
--cc=r_linux@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).