I made a dynamic 2D array using 'calloc', but when I try to fill it, I get the following error: name lookup of `j' changed for new ISO `for' scoping
Here's the part of the code where it stops:
for(int j=count;j<prod;j++);
{
ct[j][0]=50+(j-count+1)*offset; //error here
count++;
}
How do I solve this?