
How to fix output related problems ? If your system is not giving any output after compiling the source code, then follow the given steps. As you can see in initgraph( ),there is a term, "c:\\tc\\bgi" this is basically a driver_directory _path where all the graphic driver files are located. But there is a little problem due to which the source code is not giving any output after compiling the code, and you can fix this problem by copying all files of bgi folder to bin folder. for your convenience and simplicity, I am providing you some screenshots of the whole process Here I am using YOGISOFT c++, if you are using TURBO c++ or DEV c++, the process is the same for all compilers, some files may differ in other compilers. But we shouldn't worry about it simply go to C drive and go to c++ folder and then go to tc folder, click on bgi folder and copy all the files of bgi folder to bin folder. click on your local disk or c drive ...