Hi all, I'm a little confused about some uses of the TString class. What I ultimately want to do is to tokenize a command line. (I'm trying to write a layer on top of TMinuit::mnexcm() and avoid creating the annoying array of needed to supply arguments.) The web page for TString claims that there is a member function istream& ReadToken(istream& str) that seems perfect for the job. Does anybody have an example on how to use it (the whole root web site contains only two references to it -- in the class definition). Also, one would naively expect the following few commands to work: root [0] #include <iostream.h> root [1] TString test = "one two three"; root [2] cout << test << endl; *** Break *** segmentation violation I'd appreciate a hint on what I'm missing here. I'm using root 2.21/02. Thanks a bunch! Petar
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET