I want to run a C program that draws a circle. The program is compiling with no error and it is running. After getting the values like radius from the user, I get the error
Try this (it worked for me) :
The BGI folder is usually in the following path,
C:\TurboC++\disk\TurboC3\BGI
So the code you need to put in your program is as follows,
initgraph(&gd, &gm, "C:\\TurboC3\\BGI");