I have an application that reads a directory for XML files, places them in an array, and then performs functions on the files. I want to run my logic past others to see if I am in the right direction.
-files are selected and put into an array.
for (int i=0; i<array.length; i++)
{
function 1;
function 2;
}
What I am hoping to happen is to have array[0] run through function 1 and function 2, and then have array[1] run through the functions, running each file in the array separately. Are there any giant flaws in my thinking?