Can only concatenate str not int. Const int c++. const char или string. string const&. const int *val.