這是leetcode 中遇到的一個糾結了很久的問題,試過幾種,總結如下:. int a=247;. char c[10];. string b. 方法一:使用sprintf_s(或sprintf).
確定! 回上一頁