c++ - 'DETECT' keyword errors in BoundaryFill Algorithm -
i want use boundary fill algorithm cpp in visual studio environment. tried run code parts it, faced face error @ every turn. error 'detect' keyword in codes. of codes include lines:
int gd=detect,gm,n,ch,xc,yc,r,bcolor,fcolor; initgraph(&gd,&gm,"");
i have error "the definition 'detect' undefined" because of usage.
how can overcome problem?
ps: can reach example code used link -> http://www.hhhprogram.com/2013/05/draw-circle-and-fill-color-using-boundary-fill-algorithm.html
thank you.
add header detect, may solve issue.
Comments
Post a Comment