home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12596 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  766 b 

  1. Path: sparky!uunet!stanford.edu!ames!olivea!veritas!sef
  2. From: sef@Veritas.COM (Sef Kloninger)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: problems with atof()
  5. Message-ID: <1992Aug20.220020.4001@Veritas.COM>
  6. Date: 20 Aug 92 22:00:20 GMT
  7. References: <1992Aug20.125252.3451@dxcern.cern.ch>
  8. Organization: VERITAS Software
  9. Lines: 14
  10.  
  11. nilo-
  12.  
  13. I think you forgot to include the <stdlib.h> header file, as 
  14. my strtod(3C) man page suggests.  I'm using SVR4.2.  The 
  15. inclusion of the header file probably tells C what type to expect
  16. from aotf.  Without it, the compiler guesses (incorrectly).
  17.  
  18. hope this helps.  good luck.
  19. sef
  20. -- 
  21. ------------------
  22. Sef Kloninger
  23. Veritas Software                        Stanford University
  24. sef@veritas.com                         sef@cs.stanford.edu
  25.