turn int into string gfg c++ code example Example: how to turn int into string c++ int a = 10; char *intStr = itoa(a); string str = string(intStr);