C++ adds std::stoi (and variants for each numeric type) and std::to string, which are the C equivalents of atoi and itoa but expressed in terms of std::string
#include <string>
std::string s = std::to_string(42);
Is therefore ...READ MORE
Jun 1, 2022
in C++
by
Damon
• 4,960 points
•
1,395 views