int to string?

Andy Haas (Andrew_Haas@brown.edu)
Sun, 17 May 1998 17:43:53 -0400


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.