BGI stands for Borland Graphics Interface. These are the files that contains the information about the graphic functions to be used. These are responsible for performing graphic operations under dos.
In Borland turbo c++ these files are contained in directory.
-> c:\tc\bgi
By default these are loaded in the current directory while compiling and executing the program under c/c++ but sometimes we need to specify their path in "initgraph() function.
like:
initgrapy(&gdriver,&gmode,"c:\\tc\\bgi");
otherwise it will display you error about bgi.
Chat with our AI personalities