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