c - conio setcolor(BLACK) not working -
the method setcolor(black) not working on white background. if background color black , setcolor(white) displays circle border correctly. doesn't happen other color.
#include<graphics.h> #include<conio.h> void main() { int gd=detect,gm; initgraph(&gd,&gm,"c:\\tc\\bin"); setbkcolor(white); setcolor(black); circle(100,100,50); getch(); closegraph(); }
Comments
Post a Comment