WriteLineFile(str,'/r/n');
来源:互联网 发布:wps数据有效性设置两个 编辑:程序博客网 时间:2024/05/23 11:58
void CDofileDlg::WriteLineFile(CString strSrc,char cstrSeparator)
{
CStdioFile file;
file.Open("1.txt",CFile::modeCreate|CFile::modeWrite);
int t=strSrc.Find(cstrSeparator,0);
CString str2;
while (t!=-1)
{
str2=strSrc.Left(t+2);
file.Write(str2,str2.GetLength());
str2=strSrc.Mid(t+2,strSrc.GetLength()-t);
strSrc=str2;
t=strSrc.Find(cstrSeparator,0);
}
file.Write(strSrc,strSrc.GetLength());
file.Close();
}
- WriteLineFile(str,'/r/n');
- python3去除str中的n、r
- itoa(num,str,r);
- \r \n \r\n
- \r \n \r\n
- \r,\n,\r\n
- \r,\n,\r\n
- \r \n \r\n \n\r 测试
- Python repr() str() print %r
- /n/r
- /n /r
- R(N)
- /r/n
- \r \n
- \r\n
- \n \r
- \r\n
- 关于\r,\n,\r\n
- OGRE + MFC 多线程框架
- ns-3
- 算法导论习题6-堆排序
- SQL Server中GO的使用方法
- SYN_RECV攻击分析及iptables防御方法
- WriteLineFile(str,'/r/n');
- 具体数学习题--二项式系数
- 简单防范SYN_RECV攻击
- 一位IT程序员的心声:我们是无耻之徒吗?
- T-SQL问题汇总:批量更新
- aspx导出Excel文件-转
- ReadFileStr
- 用C#绘制实时曲线图
- 1.9 - 第一章:PHP基础 - 总结