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

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -