Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!shelby!neon!neon.Stanford.EDU!ham From: ham@Neon.Stanford.EDU (Peter R. Ham) Newsgroups: gnu.g++.lib.bug Subject: Does '\n' flush streams? Message-ID: Date: 15 Dec 89 18:46:37 GMT Sender: USENET News System Distribution: gnu Organization: Stanford University Lines: 18 I've asked this question before, but here goes again. Should cout << "\n" flush cout? The libg++ test suite seems to imply that it should. I'm not getting that behavior on the pmax. Maybe I should go debug the thing? In Stroustrup's book, it says that and ostream should be flushed in its destructor. The libg++ ~ostream doesn't seem to to this. What am I missing? -- Peter Ham PO Box 3430 (h)(415) 322-4390 MS Computer Science Student Stanford, CA ham@cs.stanford.edu Stanford University 94309 (o)(415) 723-2067