还是返回一个CStringarray 对象吧。ok,here we go : void filefind(CString strdir,CString strtype,CStringArray * arrreturn)//strdir为指定文件夹,strtype为指定类型, { //arrreturn = new CStringArray; CStringArray arr; CFileFind finder; //文件查找类 CString filedir,filename,str; //str = L”D:\\我的文档\\Visual Studio 2010\\Projects
Read more