🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #240

does it bug of ostream.form()

#240
From: Onizuka "Creole" Kentaro
Date: Sat, 29 Aug 1992 03:04
23 lines
1419 bytes
   > > The output of this tiny program is a little bit strange.
   > > Only when form() output 20.0, the format changes.
   > 
   > This was a problem in libg++/iostream/outfloat.C.
   > I've appended my curent version.  I've no idea if how
   > compatible it is with libg++-2.2.

Thank you. I will try your src on my system.

   > No.  stdout and cout are different objects, with different buffers.
   > They are not synchonized (unless you use the stdio implementation
   > in libg++/iostream/stdio - in whcih case you will get the
   > formatting bug with printf).
   > 
   > The same will happen for most implementations of iostreams.

I supposed as you said.

Thank you.

..Kentaro Onizuka .... Institute for New Generation Computer Technology ...
.......................................E-mail  onizuka@icot.or.jp .........
...Mi waan mek star ship! Mi waan go Mars! Dat mi drim! .....(i) x13.(s)x3.
Technical Details
Message-ID: <9208280904.AA00592@psiux535.icot.or.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!icot.or.jp!onizuka
References: <9208280410.AA12879@rtl.cygnus.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!icot.or.jp!onizuka
From: onizuka@icot.or.jp (Onizuka "Creole" Kentaro)
Subject: does it bug of ostream.form()
Message-ID: <9208280904.AA00592@psiux535.icot.or.jp>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <9208280410.AA12879@rtl.cygnus.com>
Distribution: gnu
Date: Sat, 29 Aug 1992 03:04:59 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 27