Program to print a pixel

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


void main()
{
  clrscr();
  int gm=DETECT,gd,i;


   initgraph(&gm,&gd,"");


       putpixel(50,100,6);

  getch();
}

Leave a Reply