c++ 字符串转数字

#字符串转整数
string ss="-99";
cout<< stoi(ss)<<endl;

原文地址:https://www.cnblogs.com/sea-stream/p/11100398.html