Quote Originally Posted by ahmd View Post
I'm searching recursively thru files in a folder (so I can't tell you how many there are -- it may be anything from 0 to 10,000 and more). At this stage I need to collect all the file paths in an array.

When all files are found, the second round of recursive search opens each file and processes it in a certain way. At this point if a certain tag is found in a file, I need to match that tag with a file name in the array created above. Each file, on average, may contain from 0 to 10 of those tags, but that number can be more.

So what would you use in this case? (I can't go with std::vector since I've never used it before and I need to go with something that I already know.)
Why a second recursive search? You already have all your file names in your collection object, why not just iterate through that?