I have array with known x size (5) and the y is taken from variable, so the array is something like this - array[5][y];
And now I'm quite troubled how to pass it to function, I won't edit it, just read the data from it.
I thought to do something like this:
void someFunction(double **array)
but I get
convert error: cannot convert `double (*)[((unsigned int)((int)n))]' to `double**' for argument `2' to `void findMax(int, double**, int)'|
std::vectororstd::arrayinstead.