how to turn int into string c++

C++
#include <string> 

std::string s = std::to_string(42);std::to_string(23213.123)int a = 10;
char *intStr = itoa(a);
string str = string(intStr);
Source

Also in C++: