#include "conio.h"
#include "graphics.h"
#include "dos.h"
void main ()
{
int gd,gm;
clrscr ();
detectgraph (&gd,&gm);
initgraph (&gd,&gm,"c:\\TC\\BGI");
fillellipse (200,200,50,50);
fillellipse (400,200,50,50);
fillellipse (300,300,100,100);
setfillpattern (EMPTY_FILL,0);
fillellipse (300,300,90,90);
circle (265,260,25);
circle (335,260,25);
fillellipse (265,265,5,5);
fillellipse (335,265,5,5);
circle (300,320,10);
arc (300,282,220,320,70);
arc (300,340,180,0,40);
delay (5000);
closegraph ();
getch ();
}
0 comments:
Post a Comment