string nums = "345.3423"; auto integer = std::stoi(nums); //翻譯: ... auto nums = std::to_string(number); //翻譯:從integer 轉換成string, 輸出為"123432.
確定! 回上一頁