Re: cout and hex

From: Brett Viren <bv_at_bnl.gov>
Date: Fri, 12 Jun 2009 22:23:12 -0400


Roman Lietava <rl_at_hep.ph.bham.ac.uk> writes:

> Is this bug or what I do wrongly ?
> Roman.
>
> root [0] ULong64_t aa
> root [1] aa=32
> (const unsigned long long)32
> root [2] cout << hex << aa << endl;
> 32

I don't know if cint follows this but in C++ I often use this pattern:

  cout << (void*)aa << endl;

-Brett. Received on Sat Jun 13 2009 - 04:23:18 CEST

This archive was generated by hypermail 2.2.0 : Sat Jun 13 2009 - 11:50:02 CEST