Thanks for replies but i solved the problem
I was true i could not pass the 2-dimensional array to a
function as an argument and hoping that this array would be a local variable to the function.
So, what i did actually was the following:
Have the array as a global variable:
int Array[8][8]...
Trust me i have tried it and still does not work.
The CopyArray is changed as well as we pass it as a parameter to a function.
Maybe it is not possible every nested caller to have its personal copy, what do you think?
Hi i am having the following problem:
I am using Recursion in C.
Clearly i have a function like that:
void Test(int times,int Array[5][5])
{
times++;
for (i=0;i<3;i++)
Test(times,Array[5][5]);
}
My problem: i cannot get 'earlier' versions of the 2-dimensional array when i do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.