void CXX::OutputMsg01(CString tag, CString str, BOOL clean)
来源:互联网 发布:塞浦路斯旅游数据 编辑:程序博客网 时间:2024/06/06 02:46
CStdioFile file;
BOOL res = FALSE;
if (clean)
{
res = file.Open(strFilePath, CFile::modeCreate|CFile::modeReadWrite);
}
else
{
res = file.Open(strFilePath, CFile::modeCreate|CFile::modeNoTruncate|CFile::modeReadWrite);
}
if (res)
{
if (!clean)
{
file.SeekToEnd();
}
if (_T("")!=tag)
{
file.WriteString(tag);
file.WriteString(_T("/r/n"));
}
if (_T("")!=str)
{
file.WriteString(str);
file.WriteString(_T("/r/n"));
}
file.Close();
}
- void CXX::OutputMsg01(CString tag, CString str, BOOL clean)
- void FormatHtml(CString &str)
- char p转CString str
- CString
- CString
- CString
- CString
- CSTRING
- CString
- CString
- CString
- CString
- CString
- cstring
- CString
- CString
- CString
- CString
- GetDC 与 释放DC
- ScreenToClient 与 CMainFrame非客户区坐标计算
- CStatic控件的背景色设为透明?
- 每日推荐的文章
- time.GetAsSystemTime(cmdheader.commandtime);//BOOL RES = time.GetAsSystemTime(timeDest);无效
- void CXX::OutputMsg01(CString tag, CString str, BOOL clean)
- SOA 组合业务服务的自动化测试系列文章
- 精通 Grails排除 bug,构建可执行文档
- 使用 Ghosd 和 Synergy 增强多屏幕用户界面
- 高性能自旋锁 MCS Spinlock 的设计与实现
- theApp. m_AppPath 应用程序当前路径
- DIY: 实现自己的中文语音应用
- 新改进 Vim 编辑器,可以在任何平台上编辑代码
- 常用的网页切换特效代码