Page

C Graphics Program For putpixel

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

main()
{
   int gd = DETECT, gm;

   initgraph(&gd, &gm, "C:\\TC\\BGI");

   putpixel(25, 25, RED);

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

No comments:

Post a Comment