Article View: comp.lang.c++.moderated
Article #6Re: Re-Routing streams
From: Steven Yampolsky
Date: Fri, 15 Dec 1995 07:52
Date: Fri, 15 Dec 1995 07:52
23 lines
1520 bytes
1520 bytes
X-Original-Date: 15 Dec 1995 04:56:42 GMT
Kyle Lussier (lussier@aviator.cis.ufl.edu) wrote:
: X-Original-Date: 14 Dec 1995 18:06:39 GMT
: How do I get re-route, or overload the standard streams to send output
: to somewhere else? Specifically I want all messages to stderr to be
: sent to a file and all messages to stdout to be sent to a file.
Did you try to set your standard streams(cin, cout, etc) to
,say, file buffers?
Just a thought.
--
Steven Y.
-------------------------------------------------------------------
|I'm not really a college student. In reality I'm a rocket scientist|
-------------------------------------------------------------------
[ comp.lang.c++.moderated is a moderated newsgroup. Submit articles ]
[ to <c++-submit@netlab.cs.rpi.edu>. The moderation policy can be ]
[ retrieved from <http://netlab.cs.rpi.edu/~cppmods/guide.html>. ]
[ Moderators can be reached at: c++-request@netlab.cs.rpi.edu. ]
Technical Details
Message-ID:
<4ar9fp$802@netlab.cs.rpi.edu>Path:
arc1-ca.pugleaf.net!library.erc.clarkson.edu!rpi!not-for-mailReferences:
<4aq1ig$1u2@netlab.cs.rpi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!library.erc.clarkson.edu!rpi!not-for-mail From: minsk@ccs.neu.edu (Steven Yampolsky) Newsgroups: comp.lang.c++.moderated,comp.lang.c++ Subject: Re: Re-Routing streams Followup-To: comp.lang.c++.moderated,comp.lang.c++ Date: 15 Dec 1995 07:52:25 -0000 Organization: College of Computer Science, Northeastern University. Sender: cppmods@netlab.cs.rpi.edu Approved: vandevod@cs.rpi.edu Message-ID: <4ar9fp$802@netlab.cs.rpi.edu> References: <4aq1ig$1u2@netlab.cs.rpi.edu> NNTP-Posting-Host: netlab.cs.rpi.edu