Stefan, >> >When I use e.g. a member function of my class which takes arguments I get >> >a cint crash when I use constants. >... >I think it would be nice to be able to use constants in cint macros just >like in compiled code. This is fixed now. You can use reference to fundamental types as precompiled function argument. This comes with cint5.13.58 or later. >> >o) Can one use C++ stream io in the cint interpreter? I found I can only >> > do this after doing #include <iostream.h> on the command line. >> You need to read iostream.h to use stream I/O. It is technically easy to >> read it by default, but I'm not sure if that is right thing to do. >Hm, I am puzzled (probably because I am a C++ beginner), after all C io >needs <sdtio.h> to be included, which seems to be the case. Is it soemhow >more difficult to deal with stream io? I know this is inconsistent. But I did not like to add too many symbols by default. In case of ROOT, you can add following statement in rootlogon.C to load iostream at start up. G__loadfile("iostream.h"); Raw cint does not provide such rc file right now. Masaharu Goto
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET