Thread View: gnu.g++.lib.bug
1 messages
1 total messages
Started by David Detlefs
Mon, 14 Aug 1989 20:54
Is this deliberate?
Author: David Detlefs
Date: Mon, 14 Aug 1989 20:54
Date: Mon, 14 Aug 1989 20:54
30 lines
1119 bytes
1119 bytes
Doug et. al. --
Consider the following program:
--------------------------------------------------
#include <stream.h>
void 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads