#include <iostream>
void func(int* piaaArray, unsignedint uiSize, unsignedint uiLength){
for (int j = 0; j < uiLength; j++){
for (int i = 0; i < uiSize; i++){
std::cout << *piaaArray[j][i];
}
}
}
int main(){
int* piaaArray[5][8];
func(piaaArray, 5, 8);
return 0;
}
and when I place as argument iaaArray[][] it seems to insist on the size of the multidimensional array. I could easily just define the array to be a ridiculous size like iaaArray[900][900] because I know it won't ever need to be bigger than that but I'd prefer not to do that.
well anyway, what I actually ended up doing is creating my own 2 dimensional array in a 1 dimensional array since it's basically the same as a 2 dimensional array, you just need to be more careful where the next row comes in.
I am still interested in a solution to this though.
So Browni3141, your compiler allows for my code snippet?