When this function is called I want the Height and Width parameters to be used to size the 2D array. But I am getting a "a parameter is not allowed" error.
void Grayscale(int height, int width, RGBTRIPLE image[height][width])
{
}
When this function is called I want the Height and Width parameters to be used to size the 2D array. But I am getting a "a parameter is not allowed" error.
void Grayscale(int height, int width, RGBTRIPLE image[height][width])
{
}