Download the library
1.copy graphics.h & winbgim.h file to C:\Program Files (x86)\CodeBlocks\MinGW\include\
2. copy libbgi.a to C:\Program Files (x86)\CodeBlocks\MinGW\lib
3. open codeblock
4. settings>compiler>linker setting>add libbgi.a
5. paste the text to other linker option
Post a Comment