CString->std::string 例子:
CString strMfc=“test“;
std::string strStl;
strStl=strMfc.GetBuffer(0);
std::string->CString  例子:
CString strMfc;
std::string strStl=“test“;
strMfc=strStl.c_str(); 
		 
	posted on 2006-12-14 14:11 
清源游民 阅读(138580) 
评论(12)  编辑 收藏 引用  所属分类: 
C++