#include <graphics.h>
#include <conio.h>
void main()
{
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\TC\\BGI");
#include <conio.h>
void main()
{
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\TC\\BGI");
line(100, 100, 200, 200);
getch();
closegraph();
}
getch();
closegraph();
}
No comments:
Post a Comment