Home
C/C++ Graphics Tutorial
C Tutorial
C++ Tutorial
Java Tutorial
Projects/Downloads
About Me
Browse »
Home
»
line in c graphics
»
C graphics program to draw a line
C graphics program to draw a line
Ads by YahooAds.in
C graphics program to draw a line
#include <graphics.h>
#include <conio.h>
void main()
{
int d,m;
d=DETECT;
initgraph(&d,&m,"c:\\tc\\bgi");
line(50,50,500,50);
getch();
closegraph;
}
Output :
Ads by YahooAds.in
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment