为什么始终打不开文件?????????????????????
char* pFileName="kkk.txt";
CStdioFile f1;
if(!f1.Open(pFileName,CFile::modeCreate|CFile::modeWrite|CFile::typeText))
{
#ifdef _DEBUG
afxDump<<"unable to open file"<<"\n";
#endif
}
kkk.txt在vc这个工程的文件夹中,为何始终打不开?说unable to open file
CStdioFile f1;
if(!f1.Open(pFileName,CFile::modeCreate|CFile::modeWrite|CFile::typeText))
{
#ifdef _DEBUG
afxDump<<"unable to open file"<<"\n";
#endif
}
kkk.txt在vc这个工程的文件夹中,为何始终打不开?说unable to open file
...全文


