Find the number of files in a folder in MFC
CFileFind find; bool ret = find.FindFile (*. *); Int i = 0; while (ret) {ret = find.FindNextFile (); if (find.IsDots () || find.IsDirectory ()) continue; i ++;} i
————————————————
Copyright statement: This article is the original article of CSDN blogger "helonSY", which follows the CC 4.0 BY-SA copyright agreement. Please reprint the original source link and this statement for reprinting.
Original link:
https://blog.csdn.net/helonSY/article/details/6643869