0

The suspected incorrect of my code is here:

    for(int i =0;i<height;i++)
    {
        for(int j = 0;j<width;j++)
        {
            image[i][j] = copy[i][j];
        }
    }

or

    RGBTRIPLE copy[height][width];
    for(int i =0;i<height;i++)
    {
        for(int j = 0;j<width;j++)
        {
            copy[i][j]=image[i][j];
        }
    }

The full code is here: https://pastebin.com/urc6runU When I run the image through blur, it simply spits out the same image.

  • Nobody can answer you if all you say is you suspect this part of your code then paste a link to your code, be specific of what happens with your program don't let us find out what the problem is – Ojou Nii Jun 9 at 15:31

You must log in to answer this question.

Browse other questions tagged .