Does anyone know of a function that will enable me to scan all the files AND contents of subfolders of a directory. I am currently using FindFirst and FindNext functions, however these functions are only currently searching for files in the root directory - not all subfolders within it too.
string FullPath = DirPath; // Store inputted DirPath Variable as FullPath before amending
FullPath = FullPath + "*.*"; // Add the .* extension to check for all files (notice + operator overload)
FndHnd = FindFirstFile(FullPath.c_str(), &FindDat); // Use of FindFirstFile - handle returned