so was trying to make an array of pointers to objects and pass it to a function but am getting errors. i have declared an array.
shapes *myArray[2];
having a function
void addShape(shapes *myArray[]);
passing the array
addShape(myArray);
isnt working. error: argument of type "int *" is incompatible with parameter of type "int **".
what to do here?