使用MFC时,常常需要经行CString与char之间的相互转换,在这里总结一下 涉及到的函数主要有: 1)Format 2)sprintf 3)WideCharToMultiByte 4)MultiByteToWideChar