我希望"字符串化"一个数字并添加零填充,就像printf("%05d")如果数字小于5位,如何添加前导零.
printf("%05d")
c++ qstring qt
c++ ×1
qstring ×1
qt ×1