在主程序中
char fname[80]="d:\\aa.txt",ext[10];
ReadTextFile(lpszFile, fname);
而函数中参数为:
ReadTextFile(LPCSTR szFile, LPCSTR szFile1)
{
 CFile aa;//下面这几句中有错误,  可能是参数传递不对.   如何改正?
 aa.Open(szFile1,CFile::modeCreate||CFile::modeWrite,NULL);
aa.Write("adfafafa",10);//
//........
}
主要原因可能是参数不对,     请问如何改正?    谢谢!