If the variable is of type string you can do :
std::string s = "hi" + yourstring;
Otherwise .. If it is a number you have to cast it to a string before.
EDIT : the c++ way to convert numbers to integers is the stringstream (just google it ). I'm writing from phone