Saturday, 24 December 2011

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;
}

No comments:

Post a Comment