if i pass my object >
Code:
Search Area mapnode[dwnMax][acrMax]
as a parameter of a function call as below >
Code:
SetFscore(mapnode);
Code:
void SetFscore(SearchArea mapnode[dwnMax][acrMax])
{
//do stuff
}
is it automatically passed by reference? or am i creating a copy of the whole array of objects during the scope of the function? i see that the object in the calling function is changed after the call which is what i want so i assume some kind of pointer or reference is implied automatically
i do not want to be adding masses of objects on the stack