Mon
28
May '07
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>

Leave a passing comment »