Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <graphics.h>
#include <conio.h>
int main() {
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\Turboc3\\BGI");
if (graphresult() != grOk) {
return 1;
}
line(100, 100, 300, 300);
getch();
closegraph();
return 0;
}Coding works best on desktop or with an external keyboard.