积极答复者
VC++如何去除文字前的符号?

问题
-
答案
-
句首本来的字符是什么呢,试一下使用多字节字符集。
Project properties->General ->Character Set->Use Multi-Byte Character Set.
建议不要用CArchive 输出到记事本。
参考: http://bbs.csdn.net/topics/390350125
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
全部回复
-
输出结果文字前有一符号,不知如何去除?
CFile file(fileDlg.GetFileName(), CFile::modeCreate | CFile::modeWrite);
CArchive ar(&file, CArchive::store);int h1 = 0;
for (h1 = 0; h1 < sum1.size(); h1++)
{
CString sum3 = sum1[h1];
CString sum4;
sum4 = "\r\n";
sum3 += sum4;ar << sum3;
}
ar.Flush();- 已合并 Shu 2017 2015年2月10日 1:51 duplicate
-
句首本来的字符是什么呢,试一下使用多字节字符集。
Project properties->General ->Character Set->Use Multi-Byte Character Set.
建议不要用CArchive 输出到记事本。
参考: http://bbs.csdn.net/topics/390350125
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.