CString char* string 互转
摘要:
转自:http://blog.csdn.net/huihui0121/article/details/5804446,问题解决了 还没来得及仔细看CString 头文件#include <afx.h>string 头文件#include <string.h>CString 转char *CString cstr;char *p = (LPSTR)(LPCTSTR)cstr;string 转 CStringCString.format(”%s”, string.c_str());char 转 CStringCString.format(”%s”, char*);char 阅读全文
posted @ 2012-08-27 09:53 mrpomelo 阅读(184) 评论(0) 推荐(0) 编辑