My code looks like this at the moment;
In the first printf I have the array I originally assigned to split_array and after the function call which doesn't call split_array, it prints a different array.Code:for (j=0; j<bfun_lines; j++) { printf("Attention! BEFORE main split array %i is %lf\n", j, split_array[j]); } encrypt_array = padme(encrypt_array, &n_value); for (j=0; j<bfun_lines; j++) { printf("Attention! AFTER main split array %i is %lf\n", j, split_array[j]); }
I am pretty stuck as to what to look for as I have no idea how this could happen? Any ideas or would you need to see more code?



LinkBack URL
About LinkBacks


