linerel


/*
Write a program in C for linerel
*/

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

main()
{
int gd = DETECT, gm;

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

moveto(250, 250);
 

linerel(100, -100);

getch();
 

closegraph();
 

return 0;
}

Post a Comment

0 Comments