I am slowly writing some C++ code, and I have been looking for something that is similar to PHP's glob function. How can I write something in C++ that is similar to php glob?