is that possible to make power of loop depending on some variable. I am not sure if "power of loop" is suitable term, but can't find better. I mean for example something like:
int powerOfLoop = 8;
for(int a0=0; a0<something0; a0++)
{
for(int a1=0; a1<something1; a1++)
{
for(int a2=0; a2<something2; a2++)
{
for(int a3=0; a3<something3; a3++)
{
// .... and so on until "a8"
}
}
}
}
And If I change powerOfLoop
then power (or depth) of that loop also change. Is that possible at all? How to implement it easly?