Download Graphics Library For Dev C++

  1. Dev C++ Graphics
  2. Download Graphics Library For Dev C For Dev C++ Download
  3. Free Library Graphics

Download required libraries from here

Dev C++ Graphics

It is a tradition to use Turbo C for graphic in C/CPP. But it's also a pain in the neck. Here we are using Code::Blocks IDE, which will ease out our work.

WinBGIm Graphics Library Installation WinBGIm is a Windows C graphics library based on the classic Borland Graphics Interface (originally distributed with Borland’s Turbo Pascal and later with their Turbo C compilers). In addition to the original BGI interface, WinBGIm also provides programmer support for accessing the mouse and for using. I can do graphics in Dev- C. I am using Dev-C.:). Just follow the instructions carefully and do not forget to put linkers. You can't do a graphics by making a new source file. You need to do a new project to put linkers. Yes, but you are not using the 16-bit functions that are in graphics.h that is supplied with Turbo C. Unable to run the graphics from following process in DEV C. Install DevC. I installed from the Version 4.9.9.2 Setup File. Download graphics.h to the include/ subdirectory of the Dev-C directories. Download libbgia. To the lib/ In order to use the WinBGIm subdirectory of the Dev-C directories.

Steps to run graphic code in CodeBlocks

1. Install Code::Blocks

Make sure you have installed Code::Blocks IDE on your machine. If you don't have this IDE or have any issue with compiler download and install it from here. http://sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/codeblocks-16.01mingw-setup.exe

2. Download the required header files

Download Graphics Library For Dev C++

We need few files to be included in the lib folder of Code::Blocks.Download the files from here https://github.com/SagarGaniga/Graphics-Library

3. Include graphics.h and winbgim.h

Download Graphics Library For Dev C For Dev C++ Download

Copy and Paste the graphics.h and winbgim.h files into include folder of Code::Blocks directory.

Path: C:Program Files (x86)CodeBlocksMinGWinclude

4. Include libbgi.a

Copy and paste libbgi.a file in the lib folder of Code:Blocks

Path: C:Program Files (x86)CodeBlocksMinGWlib

5. Add Link Libraries in Linker Setting

Free Library Graphics

  • In the Code::Blocks application go to, Settings > Compiler

  • In the Global Compiler setting, click on the Linker Settings

  • In Link Libraries, Add and browse to C:Program Files (x86)CodeBlocksMinGWlib and select libbgi.a.

  • Paste this in the Other Linker Option tab of Linker Settings (i.e. on the right-hand side)

    -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32

  • Save the setting and restart the application

To test the setting copy paste any computer graphics code from