Hello, I am new to Roottalk; I hope this is appropriate use. I am trying to append an integer to a TString. I have found a function that appears to do this: operator+ which is documented as "Add an integer to a string" I have attempted the following test script, which runs, but does not append the integer. { Long_t n = 10; TString string = "The number of fingers I have is "; string = string + n; cout << string2 << endl; } //Output: **The number of fingers I have is ** Any advice would be much appreciated-- Christian
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET