2012年9月12日
摘要: //下面函数可以,为方便,使用MFC中的CString可根据情况修改BOOL ReplaceSameFile(CString sDir,//要查找的目录 CString sReplaceFile, //要被替换的文件,只是文件名 CString sNewFile//替换的文件,用全路径){if(sDir.IsEmpty() || sReplaceFile.IsEmpty() || sNewFile.IsEmpty())return FALSE;WIN32_FIND_DATA ws_data;memset(&ws_data, 0, sizeof(WIN32_FIND_... 阅读全文
posted @ 2012-09-12 18:05 小水人 阅读(110) 评论(0) 推荐(0) 编辑