Simple glob in C++ on unix system?
I have that in my gist. I created a stl wrapper around glob so that it returns vector of string and take care of freeing glob result. Not exactly very efficient but this code is a little more readable and some would say easier to use. #include <glob.h> // glob(), globfree() #include <string.h> // memset() … Read more