strcat() concatenate a number to a string in c++ code example Example: concatenation cpp int and stirng // with C++11 string result = name + std::to_string(age);