c++ - How can CString be passed to format string %s? - Stack Overflow
How can CString be passed to format string %s? By the way, MSDN says(it's weird) To use a CString object in a variable argument function Explicitly cast the CString to an LPCTSTR string, as shown here: CString kindOfFruit = "bananas"; int howmany c++ | .....