home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!ames!olivea!veritas!sef
- From: sef@Veritas.COM (Sef Kloninger)
- Newsgroups: comp.lang.c
- Subject: Re: problems with atof()
- Message-ID: <1992Aug20.220020.4001@Veritas.COM>
- Date: 20 Aug 92 22:00:20 GMT
- References: <1992Aug20.125252.3451@dxcern.cern.ch>
- Organization: VERITAS Software
- Lines: 14
-
- nilo-
-
- I think you forgot to include the <stdlib.h> header file, as
- my strtod(3C) man page suggests. I'm using SVR4.2. The
- inclusion of the header file probably tells C what type to expect
- from aotf. Without it, the compiler guesses (incorrectly).
-
- hope this helps. good luck.
- sef
- --
- ------------------
- Sef Kloninger
- Veritas Software Stanford University
- sef@veritas.com sef@cs.stanford.edu
-