①atoi()的參數是const char* ,因此對於一個字符串str我們必須調用c_str()的方法把這個string轉換成const char*類型的,而stoi()的參數是const string* ...
確定! 回上一頁