c++codeblocksbgiborland-c

Is there any way to use both Borland Compiler and graphics.h in CodeBlocks?


I am currently trying to use both Borland Compiler in CodeBlocks as I do not find Turbo C and its environment suitable for coding. Now I realize that graphics.h library is not working in CodeBlocks while using Borland Compiler. I know there is a way while using MinGW compiler, but I need to write other programs in Borland Compiler.


Solution

  • To work with CodeBlocks, the advice is to install the latest version (20.03).
    However, CodeBlocks has long been able to use the Borland bcc32 compiler (version 5.5 or 5.6, it seems to me) by setting the toolchain paths appropriately.
    While using the Borland compiler from CodeBlocks, this does not allow you to use the VCL library only available via the Borland C++ Builder IDE.