Store reference / pointer of an array
Henrique Vilela:
I can receive an array as reference, but can I store it?
Only this way as far as I know :
double c[]; void X(double &d[]) { ArrayCopy(c,d); }
Alain Verleyen:
Only this way as far as I know :
But like this you have a copy. If one is changed the other keep the old value. It's not what I´m looking for.
Henrique Vilela:
But like this you have a copy. If one is changed the other keep the old value. It's not what I´m looking for.
You need to use a structure or a class. It was implied in previous post.
I can receive an array as reference, but can I store it?