Hi all,
how to pass the pointer of a two dimension array to a function?
Is it something like
Is the code void func( int[][] *array ) correct?Code:int array[10][5]; func( &array[0][0] ); ... ... void func( int[][] *array ) { ... }
Hi all,
how to pass the pointer of a two dimension array to a function?
Is it something like
Is the code void func( int[][] *array ) correct?Code:int array[10][5]; func( &array[0][0] ); ... ... void func( int[][] *array ) { ... }
Last edited by SoFarAway; 04-12-2005 at 06:56 AM.