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