delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
X-Trace-PostClient-IP: | 24.67.16.79 |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: help please! =) |
Organization: | Systematic Software |
Message-ID: | <q5o59u094nm7gcegglcsj3vjdlne83uaci@4ax.com> |
References: | <T0nk8.3138$523 DOT 247408 AT ozemail DOT com DOT au> |
X-Newsreader: | Forte Agent 1.9/32.560 |
MIME-Version: | 1.0 |
Lines: | 19 |
Date: | Sat, 16 Mar 2002 06:05:48 GMT |
NNTP-Posting-Host: | 24.71.223.147 |
X-Complaints-To: | abuse AT shaw DOT ca |
X-Trace: | news1.calgary.shaw.ca 1016258748 24.71.223.147 (Fri, 15 Mar 2002 23:05:48 MST) |
NNTP-Posting-Date: | Fri, 15 Mar 2002 23:05:48 MST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Sat, 16 Mar 2002 00:21:36 +1030, "james watmuff" <ammojamo AT hotmail DOT com> wrote: > printf("%lf\n",expected_diff); // this prints some WIERD value l is a modifier for long ints f is a format for doubles remove the l and use %f as in your other printf() formats and it should work fine -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian dot Inglis at SystematicSw dot ab dot ca) fake address use address above to reply tosspam AT aol DOT com abuse AT aol DOT com abuse AT yahoo DOT com abuse AT hotmail DOT com abuse AT msn DOT com abuse AT sprint DOT com abuse AT earthlink DOT com abuse AT cadvision DOT com abuse AT ibsystems DOT com uce AT ftc DOT gov spam traps
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |