well, for one a[2] is global
second...my code tries to take two vectors (v[3] and f[3]) and return the resultant f2[3]
I might figure out a way to use what you were talking about to work around my problem...
EDIT:
I got it working!
For anyone else, the way you do it is to pass the array you want returned and simply do your calculations with the others and change the values of the "returning" array.
second...my code tries to take two vectors (v[3] and f[3]) and return the resultant f2[3]
I might figure out a way to use what you were talking about to work around my problem...
EDIT:
I got it working!
For anyone else, the way you do it is to pass the array you want returned and simply do your calculations with the others and change the values of the "returning" array.