Hi all!
Could anybody give an example of
-how to pass an array (either more-d or not) by reference
-how to make a function return a(n) (more-d) array ;)
Thanks in advance!
Thanks! void f( int ( &a ) [M][N] ) { /* some code */ }
That was exactly what I was looking for! :)
Zhuge: thanks for the link, but there isn't explained how to pass arrays by reference.
EDIT: more-d means multidimensional: 2d, 3d, -> more-d :)
Last edited on