4 lines
80 B
C++
4 lines
80 B
C++
#include <string>
|
|
|
|
std::string s = "12345";
|
|
s = std::to_string(1+std::stoi(s));
|