Code
# include <graphics.h> # include <conio.h> # include <iostream.h> void get_driver() { int gDriver=DETECT,gMode; // define variables initgraph(&gDriver,&gMode,"c:\\tc\\bgi"); // initialize graphics Library } void main() { get_driver(); setcolor(LIGHTRED); circle(100,200,50); getch(); floodfill(100,200,LIGHTRED); getch(); closegraph(); }
OUTPUT
(Visited 311 times, 1 visits today)
Written by: