C ++整數與字串轉換的方式如下。 整數轉字串 int to string. 使用C++11標準函式庫 string 的 std::to_string() 可把整數轉為字串。 main.cpp.
確定! 回上一頁