I am having difficulty reading in files that end in a specific extension. Essentially, I would like to open all of the files of a certain type within a folder that inludes files of various types. I am using dirent.h as my header file and (if it matters) my complier is Xcode. Any help, or, if possible, source code would be greatly appreciated. Thanks everyone!
-romanpitch