C Programming Code Examples C > Games and Graphics Code Examples Program to Draw Eclipse using Graphics Function Program to Draw Eclipse using Graphics Function #include<graphics.h> #include<conio.h> main() { int gd = DETECT, gm; initgraph(&gd, &gm, "C:\\TC\\BGI"); ellipse(200, 200, 0, 720, 100, 50); getch(); closegraph(); return 0; }