组合字符串的另一个函数是QString::sprintf(),此函数支持的格式定义和C++库中的函数sprintf()定义一样,例如:. QString str;. str.sprintf("%s","Welcome "); //str ...
確定! 回上一頁