reading multiple files in C
I have the following problem: My program is supposed to read data from files to an array. The files are numbered: capture.bmp,capture.bmp and so on. There are 24 of those files, and I really don't want to do the same step 24 times. Is there a way to write a loop along the lines of
if i want to specify where my file is existing........................
In other words, is there a way to insert the "i" variable into the filename?
for (int i=1; i<25, i++);
Thank you for your insights.