Thursday, 29 November 2012

introduction of C graphics


/*Program to impelement basic introduction of C graphics
compiler- Turbo c++     author- Mangilal Sharma
--------------------------------------------------------*/
#include<graphics.h>
#include<conio.h>

void main()
{
 int gd = DETECT, gm;
 initgraph(&gd, &gm, "c:\tc\bgi ");
 circle(200, 100, 150);
 getch();
 closegraph();
}
/*=========================4Aug.,2012=============================*/

No comments:

Post a Comment

You are welcome, your comment helps me to make this blog more better.