delorie.com/archives/browse.cgi | search |
From: | pavenis AT lanet DOT lv |
To: | "Piotr Eljasiak" <eljasiak AT NO-SPAM DOT zt DOT gdansk DOT tpsa DOT pl>, djgpp AT delorie DOT com |
Date: | Wed, 18 Oct 2000 20:06:55 +0200 |
MIME-Version: | 1.0 |
Subject: | Re: 'long long' ostream::form() bug report |
Message-ID: | <39EE02DF.23974.1AA0843@localhost> |
In-reply-to: | <8sijc9$s3q$1@news.tpi.pl> |
X-mailer: | Pegasus Mail for Win32 (v3.12c) |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On 18 Oct 2000, at 0:22, Piotr Eljasiak wrote: > The following code: > > long long i1=1, i2=2, i3=3, i4=4; > > printf("%lli %lli %lli %lli\n",i1,i2,i3,i4); > cout << i1 << ' ' << i2 << ' ' << i3 << ' ' << i4 << endl; > cout.form("%lli %lli %lli %lli\n",i1,i2,i3,i4); > > gives the ouput: > > 1 2 3 4 // OK > 1 2 3 4 // OK > 1 0 2 0 // error > > what makes me suspect that ostream::form() does not support long long GNU > extension ;o( It's so. ostream::form() does not support output of long long. It's evident f rom sources. Andris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |