#include<iostream.h>
#include<conio.h>
#include<graphics.h>
void main()
{
clrscr();
int gd=DETECT,gm;
initgraph(&gd,&gm,"c:\tc\bgi");
line(40,60,50,70); //coords of two end pts of line
getch();
}
#include<conio.h>
#include<graphics.h>
void main()
{
clrscr();
int gd=DETECT,gm;
initgraph(&gd,&gm,"c:\tc\bgi");
line(40,60,50,70); //coords of two end pts of line
getch();
}
No comments:
Post a Comment