Draw Arc using C/C++

#include<stdio.h>
#include<graphics.h>
#include<conio.h>

int main()
{
   int gd = DETECT,gm;
   int x ,y;
   initgraph(&gd, &gm, "");

   setcolor(RED);
   arc(10,10,0,300,400);

   getch();
   closegraph();
   return 0;
}

No comments:

Post a Comment