Posts by Gustavo Medeiros • 3 points
1 post
-
0
votes1
answer65
viewsQ: Take values from a vector and use in a function
I have a vector XC[i] where Gero with the code below: for(i = 0;i<N_Volumes;i++){ double XC[i]; XC[i] = (xC0+=delta_x)-1.0; printf ("XC[%d]= %f\n", i, XC[i])}; I want to take these values from…