選一個喜歡的方法就好; 最後兩行 sv 是constant string 的意思,不會變的string, ... string nums = "345.3423"; auto integer = std::stoi(nums); //翻譯:從string ...
確定! 回上一頁