I gave the location of bgi folder in my C drive as below:
initgraph(&gd,&gm,"C:\\TurboC++\\Disk\\TurboC3\\BGI");
The program compiles without any error but while running nothing appears...
When I press Alt+F5 I found this error. How to resolve this?
I hope this helps:
Now, as we know the BGI folder is usually in the following path,
C:\TurboC++\disk\TurboC3\BGI
BGI is inside the folder "TurboC3" and NOT "TC".
So the code you need to put in your program is as follows,
initgraph(&gd, &gm, "C:\\TurboC3\\BGI");