r/cpp_questions•
zman419

Program not counting file extensions

OPEN

I'm working on a project for school, it involves going into a specified file path and counting file extensions. However for some reason mine isn't counting them.

The way I see it, either the regex I'm using for my file extensions aren't valid, or the directory iterator was done incorrectly.

regex: regex extensions(".(java|class)");

directory iterator:

http://pastebin.com/BxzbHuED

Posted Apr 15, 2016, 1:19 AM UTC

09
Loading comments…