Re: [ROOT] redirect cout

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Apr 27 2001 - 19:02:10 MEST


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

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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