Re: using fscanf within root ...

Denis Bertini (dbertini@in2p3.fr)
Tue, 3 Feb 1998 09:51:59 +0100 (MET)


hello Masaharu,

I try to run my test macro on version Version 1.03/09
(CINT version 5.13.34)
using LINUX and HP-UX Platforms
>
> #include <iostream.h>
> #include <fstream.h>
>
> int rtest2()
> {
> ifstream x;
> ofstream y;
> Text_t c;
>
> x.open("test.dat");
> y.open("sortie.dat");
>
> while(x && x.get(c))
> y.put(c);
> // close it
> x.close();y.close();
> return 0;
> }
>

and have the same CINT reply for both systems
(as Martin Braeuer ... ) :

"Fatal in <operator delete>: storage area overwritten"

Something wrong ?
Denis Bertini