Is there a way to make a compiler execute 2 for loops simultaneously and the loops are alternate so that:
?Code:for loop1:
for (a=0; a<unknown1 ; a++)
{
cout<<"a"<<a<<" ";
}
for loop2:
for (b=0; b<unknown2 ; b++)
{
cout<<"b"<<b<<" ";
}
output:
a0 b0 a1 b1 a2 b2 a3...