int to string?

From: Andy Haas (Andrew_Haas@brown.edu)
Date: Sun May 17 1998 - 23:43:53 MEST


Could someone tell me how to turn an integer or float into a string? I
want to put the values of Float_t variables into a TPave with the
SetLabel() command, but the function only takes strings! C++ has a nice
function called itoa(), which does exactly what I want, but it doesn't
work from CINT (although atoi() does for some reason). Thanks in
advance, Andy.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:32 MET