Hi Gora,
just to confirm what Masa has already reported. I do not any problems
with this macro. I tested on all supported systems with all the combinations
of data type you indicate.
Rene Brun
Gora Mohanty wrote:
>
> Hello,
> CINT seems to have trouble with the following simple macro:
> {
> istringstream istr( "12:30:24" );
> double i, j, k;
> char s1, s2, end;
> istr >> i >> s1 >> j >> s2 >> k >> end;
> cout << i << ' ' << j << ' ' << k << endl;
> }
>
> When trying to execute this with any of ROOT versions 2.23, 2.25, 3.00, it
> hangs ROOT. Same problem if I replace istringstream with istrstream. In either
> case, it works if I make i, j, and k, ints instead of doubles, but does not
> work with floats. So, it seems like CINT is having trouble with floating-point
> values.
> Thanks for all the work on ROOT, and thanks in advance for any help with this
> problem. If it makes a difference, ROOT is running on a Pentium-II, Linux Suse
> 6.1 system, with kernel 2.4.1. Compiling an equivalent program with g++ works
> fine.
>
> Regards,
> Gora
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET