hi guys i have this array problem.
say i have an array called index which stores two numbers 1 and 4
i want to scan through an array of say 6 values but i dont want to hit the array[1] and array[4]
how can i do this?
i tried:
assuming index has values 1 and 4, val has two values.
Code:for ( i = 0; i<size-1); i++) for(j=0;j<val-1;j++) while(i!=index[j]) for(k=i;k<size-1;k++){ if(foo[i] == bar[k]) { incre++; } }



LinkBack URL
About LinkBacks


