Answers for "how to cast to a string an int c++"

8

string to int c++

// Both functions work identically though you'll need to use "#include <string>" 
atoi( str.c_str() );
stoi( str );
Posted by: Guest on April-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language