Thread View: gnu.g++.help
2 messages
2 total messages
Started by Bill Wied
Fri, 20 Nov 1992 18:22
Where are "cout" & "cin" defined?
Author: Bill Wied
Date: Fri, 20 Nov 1992 18:22
Date: Fri, 20 Nov 1992 18:22
10 lines
865 bytes
865 bytes
Where is "cout" and "cin" defined within libg++ 2.2? I looked in the file "iostream.h", but it only contains an extern reference to them. Any help would be appreciated!!! -- _ __ _ _ # Bill Wied #8-) wied@animal.sps.mot.com ' /__) o / / ' ) / o __/ # 2100 E. Elliot Rd. MD:EL512 Tempe, Az 85284 _/___)_/_/_ / /_/_/_/_E_/_/_ # Phone:602-897-4266 Fax:602-897-3822 ______________________________) # Network Applications Group, Motorola SPS
Re: Where are "cout" & "cin" defined?
Author: Brendan Kehoe
Date: Sat, 21 Nov 1992 10:05
Date: Sat, 21 Nov 1992 10:05
15 lines
1239 bytes
1239 bytes
In article <1992Nov20.182233.8065@newsgate.sps.mot.com> wied@animal.sps.mot.com (Bill Wied) writes: Where is "cout" and "cin" defined within libg++ 2.2? I looked in the file "iostream.h", but it only contains an extern reference to them. They are defined in stdstreams.C in the iostreams subdir of libg++: STREAM_DEF(_fake_ostream, cout, COUT_SBUF, NULL, 0) STREAM_DEF(_fake_ostream, cerr, CERR_SBUF, (ostream*)&cout, ios::unitbuf) STREAM_DEF(_fake_istream, cin, CIN_SBUF, (ostream*)&cout, 0) Brendan -- Brendan Kehoe brendan@cygnus.com Cygnus Support, Mountain View, CA +1 415 903 1400
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