c++ 字符串转数字

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

猜你喜欢

转载自www.cnblogs.com/sea-stream/p/11100398.html