cout

Pasha Murat (murat@cdfsga.fnal.gov)
Tue, 9 Dec 1997 20:36:24 GMT


You don't want to reset EVERYTHING in the middle of your job:
after gROOT->Reset() is called cint "forgets" about `cout'.

Regards, Pasha.

Selim Issever writes:
> Dear all,
>
> I have the following piece of code, which is not working,..
>
> // This is an example for cout not working after a
> // root routine was called,..
> #include <iostream.h>
> void tt() {
> cout << "Ha Ha" << endl;
> gROOT->Reset();
> cout << "Hi Hi" << endl;
> }
>
> 'Ha Ha' is printed,.. 'Hi Hi' not,..
> Does anybody know whats wrong here?
>
> Best Regards
> Selim
>
> S E L I M I S S E V E R
> DESY-F15, Notkestr. 85, 22603 Hamburg, Germany; Tel/Fax: 040 8998-2843/4033
> http://www.physik.uni-dortmund.de/~issevers; selim.issever@desy.de
> Ete kemige burundum, Yunus diye gorundum. Yunus Emre