Path: utzoo!telly!attcan!utgpu!watmath!uunet!tut.cis.ohio-state.edu!JMW.LARCH.CS.CMU.EDU!dld From: dld@JMW.LARCH.CS.CMU.EDU (David Detlefs) Newsgroups: gnu.g++.lib.bug Subject: Is this deliberate? Message-ID: <8908161258.AA00924@AENEAS.MIT.EDU> Date: 14 Aug 89 20:52:46 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 30 Doug et. al. -- Consider the following program: -------------------------------------------------- #includevoid main() { cout << "1111111111"; fprintf(stdout, "222222\n"); } -------------------------------------------------- Using G++-1.35.0 and libg++ 1.35.0 on a uvax3, this produces the following output: [/JMW]:~/testing% bug5 1222222 1222222 11[/JMW]:~/testing% Obviously files and streams don't coexist peacefully, as they do in the AT&T implementation. Is this deliberate? Is it the case that Files and streams coexist peacefully? If this was the design choice, fine; if it wasn't, and this was supposed to work, I just wanted to let you know that it didn't. Thanks. Dave