C語言中有printf()函式作為格式化輸出,QString則提供了一個sprintf()函式實現了相同的功能:. str.sprintf("%s %.1f%%", "perfect competition", ...
確定! 回上一頁