How to use graphics.h in codeblocks?

First download WinBGIm from http://winbgim.codecutter.org/ Extract it. Copy graphics.h and winbgim.h files in include folder of your compiler directory Copy libbgi.a to lib folder of your compiler directory In code::blocks open Settings >> Compiler and debugger >>linker settings click Add button in link libraries part and browse and select libbgi.a file In right part (i.e. … Read more