Line

C program to make line-

#include<graphics.h>
#include<conio.h>
void main()
{
int gd=DETECT, gm;
clrscr();
initgraph(&gd,&gm,"c:\\turboc3\\bgi");
line(30,15,100,15);
getch();
}

Comments

Popular posts from this blog

Java Program to print any matter

putpixel in c