Hi!
I'm trying to loop through a bunch of images for processing in a C program. I'm having trouble finding a tutorial or anything on how to do it. I'm essentially looking for some kind of for/while loop that can open the file, pull some info out of it, close it and then move on to the next one until it has gone through every file in the folder.
It would also be amazing if someone could point me in the direction of a way to determine how many files are in the directory without having to loop through each one and count (if that's even possible).
Thanks very much!!
caggles