Originally Posted by
henrychan22
so your function declaration would look somethin like :
returntype function(pointerOfArrayOfPointers *p);
but make sure u define the type pointerOfArrayOfPointers with: typedef int* pointerOfArrayOfPointers somewhere outside of main
Hi,
I just gave it a shot and it seems to work pretty well. Thanks
The only problem seems to be that I can no longer define a double array like
Code:
int m[][2] = { { 1, 1 }, {1, 1} }
Instead, I have to do it row by row, then put everything into the array pointer. A small price to pay I guess.