Re: [ROOT] TString

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Nov 26 2002 - 08:52:19 MET


Hi Giuseppe,

  TString a = "abcdefg";
  cout <<a<<endl;

or
  cout<<a.Data()<<endl;

or
  printf("%s\n",a.Data());

Rene Brun

On Tue, 26 Nov 2002, [iso-8859-1] giuseppe.foggi@libero.it wrote:

> Hi,
>  how can print on the Standard Output (video) a TString?
>  With the statment
>    cout<<str;
>  where TString str
>  I didn't get the contained of the TSring.
>  I have need to print a TString within a script.
>  Thank you.
>  Giuseppe.
>  
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET