Re: [ROOT] redirect cout

From: Valeriy Onuchin (onuchin@fnal.gov)
Date: Fri Apr 27 2001 - 19:09:22 MEST


 Hi Fons,
I can't understand why the following isn't redirected?

root [0] .> aap
root [1] gDirectory->ls();

Regards.    Valeriy


Fons Rademakers wrote:

> Hi Valeriy,
>
> this works fine
>
> // a.C
> {
>    cout << "Valeriy" << endl;
>    printf("Onuchin\n");
> }
>
> root[] .x a.C > aap
>
> both go into aap.
>
> -- Fons
>
> Valeriy Onuchin wrote:
> >
> > Hi,
> > to redirect stdout I'm using "root[].> file.out".
> > That doesn't make any effect to "cout output".
> >
> > I would like to redirect both cint's stdout and cout
> > to the same file.  Help!
> >
> > Thanks.    Regards.    Valeriy
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:43 MET