Re: cout and hex

From: Marc Escalier <escalier_at_lal.in2p3.fr>
Date: Sat, 13 Jun 2009 09:30:23 +0200


Hi,

i had this kind of problem in the past for an other function (setiosflags and so on)

i fixed the problem by including the associated "include" of the function.

could you try this ?

i mean try with something like :

#include <the include of the hex>

int main()
{
your code
}


On Fri, 12 Jun 2009, Brett Viren wrote:

> 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 - 09:30:38 CEST

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