NinethSense oWnZ mE!: Praveen’s drawing book

Choose a Topic:

Mon
28
May '07

C program to draw a circle

One of my very old favorite program .. C/C++ Graphics with Borland Graphics Interface (BGI) library.


#include <graphics .h>
 
int main()
{
	int gd = DETECT, gm = DETECT; /* Auto detect graphic device and mode */
	initgraph(&gm, &gd, “”); /* Initialize graphics */
	circle(100,100,50); /* Draw Circle */
	return 0;
}</graphics>
The CodeProject Microsoft Developer Network Official ASP.NET Forums Microsoft .NET Framework Community Microsoft Most Valuable Professional Kidoos forums Microsoft Visual Studio Developer Home Professional Information Technology Solutions Microsoft Research Home Trivandrum Microsoft Users Group Community Website