PROGRAM TO DRAW A LINE USING C AND CPP May 17, 2017 c , cpp Edit #include<graphics.h> #include<conio.h> int main() { int gd = DETECT, gm; /* initialization of graphic mode */ initgraph(&gd, &gm, "C:\\TurboC3\\BGI"); line(100,100,200, 200); getch(); closegraph(); return 0; } Share on Facebook Share on Twitter Share on Google Plus About Jasna Ali This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel. RELATED POSTS
0 comments:
Post a Comment