①atoi()的参数是 const char* ,因此对于一个字符串str我们必须调用 c_str()的方法把这个string转换成const char*类型的,而stoi()的参数是const ...
確定! 回上一頁