C++11 functions
std::to_string(X) converts X to std::string.
std::stoi(str) converts std::string str to int type data std::stof(str) converts std::string str to float type data std::stod(str) converts std::string str to double type data
C++11 functions
std::to_string(X) converts X to std::string.
std::stoi(str) converts std::string str to int type data std::stof(str) converts std::string str to float type data std::stod(str) converts std::string str to double type data