Hi..
How would one pass a 2d array as a parameter? Say we have a function:
how would the parameter age on line ** be specified in the function header to prevent this error?
How would one pass a 2d array as a parameter? Say we have a function:
Code:
void whatever(double *age, int Size)//**
{
for (i=0;i<Size;i++)
{
for (j=0;j<Size;j++)
...
blah,blah,blah
age[i][j]=pow(blah,2);//ERRor c2109 : a subsript was used on a variable that was not an array
}