将字符流转化为 CString 的方法
对于一个字符流提供首地址p和大小n(不同于提供指针并以'\0'结尾的字符串)如何转化为CString我用的是以下方法:
CString str1,str2;
for(int i=0;i<n;i++)
{
str1.Format("%c",*(p+i));
str2+=str1;
}
感觉效率低下,有更快的方法?

Figure out what you like. Try to become the best in the world of it.