Hello, I'm a Pascal programmer, trying to make my way into
the C++ world.
I've been trying to pass a local matrix (bidimensional
array) to a function, but I could'nt.
It's suposed to be a very simple thing, but I've tried everything I still can't.
I know that I have to make a pointer to pass it by address,
that worked.
But inside the function I can't access the matrix like if
it where a matrix, I mean, something like that :
matrix[2][3]=2; (for example).
Is there any way to do that ?
Thatnx in advance.
the C++ world.
I've been trying to pass a local matrix (bidimensional
array) to a function, but I could'nt.
It's suposed to be a very simple thing, but I've tried everything I still can't.
I know that I have to make a pointer to pass it by address,
that worked.
But inside the function I can't access the matrix like if
it where a matrix, I mean, something like that :
matrix[2][3]=2; (for example).
Is there any way to do that ?
Thatnx in advance.