Can anyone tell me if there is anything wrong with this notation?
I have array[200];
then this
In my program everything is okay except that delta_y[0] is not right - it's not in array[200] at all, so it messes everything up by that amount.Code:for(i=0; i<100; i++){ delta_x[i]=array[i]; } for(i=100; i<200; i++){ delta_y[i-100]=array[i]; }
This seems right to me, but I thought maybe there was a problem, or does anyone know why this could happen?



LinkBack URL
About LinkBacks


