VC中往记事本中写入东西为什么不能换行啊?
vc吧
全部回复
仅看楼主
level 3
老刘聊肠道网
楼主
CString str=_T("xxxxxxx");
CFile file(_T("日志.txt"),CFile::modeWrite);
file.SeekToEnd();
file.Write(_T("\r\n"),2 );
file.Write(str,120);
file.Close();
2013年10月05日 04点10分
1
1