二进制加减法的博客Introduction One of the confusing aspects of Windows programming is managing the conversion of Visual Basic style strings to/from C language style strings. It isn't that it is so difficult, it is
miao6664659的博客Introduction One of the confusing aspects of Windows programming is managing the conversion of Visual Basic style strings to/from C language style strings. It isn't that it is so difficult, it is ju
weixin_39728124的博客一、将CString类转换成char*(LPSTR)类型方法一,使用强制转换。例如:CString theString( "This is a test" );LPTSTR lpsz =(LPTSTR)(LPCTSTR)theString;方法二,使用strcpy。例如:CString theString( "This is a ...
weixin_39956612的博客一、将CString类转换成char*(LPSTR)类型方法一,使用强制转换。例如:CString theString( "This is a test" );LPTSTR lpsz =(LPTSTR)(LPCTSTR)theString;方法二,使用strcpy。例如:CString theString( "This is a ...