delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/12/12:19:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [195.224.233.3]
From: "John Vincent" <jpv50 AT hotmail DOT com>
To: Dr DOT Volker DOT Zell AT oracle DOT com
Cc: cygwin AT cygwin DOT com
Subject: Re: 1.3.12-2 : atof() always returns 0
Date: Fri, 12 Jul 2002 16:19:01 +0000
Mime-Version: 1.0
Message-ID: <F236AZEaTFiy0wBP57R0000f015@hotmail.com>
X-OriginalArrivalTime: 12 Jul 2002 16:19:01.0800 (UTC) FILETIME=[D58BDA80:01C229BF]

Hi,

Before you start running away too far ...

atof() returns the correct value once you
have the line "#include <stdlib.h>" at the
top of the source file.

But don't be embarassed, I've been writing in
'C' for 20 years, and I looked twice before
realising what the problem was.

Cheers,
/John Vincent.



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019