【VC++】VS2005/2008 CString和const char*

来源:互联网 发布:淘宝哪个网站领优惠券 编辑:程序博客网 时间:2024/05/16 09:16
CString转const char*的解决办法:
CString file_name=_T("abc");USES_CONVERSION;const char* file_path=T2A(file_name.GetBuffer(0));

原创粉丝点击