與其用sprintf() 函式或wsprintf() 函式來格式化一個字元串,還不如用CString 對象的Format()方法:. CString s;. s.Format(_T("The total is %d"), total);.
確定! 回上一頁