Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!kth.se!hemuli.tik.vtt.fi!James.Reilly From: James.Reilly@tel.vtt.fi (Jim Reilly) Newsgroups: comp.lang.c++ Subject: Re: ostream/istream question Message-ID: <5258@hemuli.tik.vtt.fi> Date: 22 Nov 90 13:14:38 GMT References: <5257@hemuli.tik.vtt.fi> Sender: news@hemuli.tik.vtt.fi Distribution: comp Organization: Technical Research Centre of Finland Lines: 21 In-reply-to: James.Reilly@tel.vtt.fi's message of 22 Nov 90 13:00:46 GMT Oooops, Of course I meant to construct istreams from istreams and ostreams from ostreams (and not as I fat-fingered in my first post) : istream input(cin); ostream output(cout); class Ostream { private: ostream& os; public: Ostream (ostream &out) : os(out) {} ... Sorry, jim -- Internet Mailbox: James.Reilly@tel.vtt.fi UUCP Mailbox: ...!{mcsun, uunet}!tel.vtt.fi!reilly