I want to create a program that finds a folder, opens it, and goes through each file in that folder. I'm not sure how to go about this, and i was wondering if anyone could point me in the right direction. I looked at the faq on this site, but none of the code worked (dir.h or dirent.h couldn't be found). I need it to be for a console application. I know how to open individual files, but not a folder, and each file in the folder.
Thanks.