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







  • click on YOGISOFT, TURBO or DEV (according to your compiler)
  • open c++ by yogisoft








  • open c++ folder









  • open tc folder








  • open bgi folder








  • copy all the files of bgi folder










  • paste all bgi files to bin folder's file


if your system still not giving any output then comment below on the comment box

if this article is helpful for you then please do comment and share.it will motivate me to write such a learning article for you guys.

if you wanna give any suggestions and corrections regarding to my article, you are always welcome. 


Thank you





Comments

Popular posts from this blog

Graphics with c/c++