🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.moderated
Article #5

Re-Routing streams

#5
From: Kyle Lussier
Date: Thu, 14 Dec 1995 20:31
20 lines
1386 bytes
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.

 Kyle Lussier
 Silicon Softworks

--------------------------------------------------------------------------
 Want free source to a Windows 95 3-D Modeler?  Mail lussier@cis.ufl.edu,
 or check out the LACE-3D home page:  http://www.cis.ufl.edu/~lussier
 Using POVRay and interested in a Win95 front-end for it?  Send me mail.
--------------------------------------------------------------------------


    [ 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: <4aq1ig$1u2@netlab.cs.rpi.edu>
Path: arc1-ca.pugleaf.net!library.erc.clarkson.edu!rpi!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!library.erc.clarkson.edu!rpi!not-for-mail
From: lussier@aviator.cis.ufl.edu (Kyle Lussier)
Newsgroups: comp.lang.c++.moderated,comp.lang.c++
Subject: Re-Routing streams
Date: 14 Dec 1995 20:31:12 -0000
Organization: Univ. of Florida CIS Dept.
Sender: cppmods@netlab.cs.rpi.edu
Approved: Dietmar.Kuehl@uni-konstanz.de
Message-ID: <4aq1ig$1u2@netlab.cs.rpi.edu>
NNTP-Posting-Host: netlab.cs.rpi.edu