c++中的stoi函数 头文件
#include<string>
用法:
1 stoi(字符串,起始位置,n进制)//将字符串转化成为10进制 2 示例:stoi(str,0,2)//将字符串str从0位置开始到末尾由2进制转化为10进制
搞作业