flood fill algorithm
- by user335593
i want to implement the flood fill algorthm...so that when i get the x and y co-od of a point...it should start flooding from that point and fill till it finds a boundary but it is not filling the entire region...say a pentagon
this is the code i am using
void setpixel(struct fill fillcolor,int x,int y)
{
…