摘要:
现在C++的字符分成两种类型wchar_t和char。 其中 WCHAR==wchar_t,CHAR==char。 TCHAR是一种条件编译的类型,根据条件可以代表wchar_t或char。 CHAR实施上就是unsigned char,WCHAR为宽字符,而TCHAR根据是否支持unicode而不 阅读全文
posted @ 2016-05-13 17:30
juji008
阅读(809)
评论(0)
推荐(0)
摘要:
一、CString转换为LPSTR 方法一: CString strFileName LPSTR lpstr - strFileName.GetBuffer(); strFileName.Releasebuffer(); 方法二: 强制转化 CString strFileName; LPSTR lp 阅读全文
posted @ 2016-05-13 17:22
juji008
阅读(509)
评论(0)
推荐(0)
浙公网安备 33010602011771号