C++ - recursion for loop - how to get access to various iterators

for(int i=0; i<matrix[0]; i++)
{
for(int j=0; j<matrix[1]; j++)
{
for(int k=0; k<matrix[2]; k++)
{
dup += nIndex[i] + nIndex[j] + nIndex[k];
}
}
}
Your other thread is much more descriptive: http://www.cplusplus.com/forum/beginner/234864/
Please do not double-post.
Topic archived. No new replies allowed.