vs2010mfc 文件操作
void CfileView::OnFileWrite(){
// TODO: 在此添加命令处理程序代码
CFile file(LPCTSTR("test.txt"),CFile::modeCreate|CFile::modeWrite);
file.Write("hello",strlen("hello"));
file.Close();
}
写了一个打开文件的函数,,,但程序运行后没有该文件,,,不知道为什么
2015-03-11 10:55
2015-03-11 11:28
2015-03-11 12:11
2015-03-11 12:13
2015-03-11 13:41
2015-03-11 15:36

2015-03-11 15:54
2015-03-11 17:55
2015-03-11 21:53
2015-03-11 22:03