[C/C++標準庫]_[初級]_[如何實現std::string自己的Format(sprintf)函式] ... 也是用了snprintf的特性,先計算大小,再建立空間,之後存入std::string.
確定! 回上一頁