Dev-C++ 4.9.9.0 and 4.9.9.1
Setup Notes
by Charles F. Monroe
September 28, 2002
Updated December 19, 2004

Disclaimer:  These notes describe now I setup Dev-C++ 4.9.9.0 in my classroom at Heritage High School.  We have 25 computers in an isolated LAN, each is a 2.8 GHz Pentium-III, running  Windows XP Pro SP1.  The LAN is isolated for security reasons, meaning it is presently not connected to the Internet or even to the rest of the school network.  I do not guarantee that these procedures will work on your computer or network setup.

Now that C++ is no longer the language of Advanced Placement Computer Science, we no longer use AP Classes.  We use standard C++ language features instead.

Contents:



Initial installation
 


Borland BGI Graphics

Thanks to the work of the Russian mathematician and computer scientist Konstantin Knizhnik, and Mark Richardson and Michael Main of the University of Colorado, and recent modifications by Adrian Sandor we now have four wonderful files that enable us to use the graphics commands originally implemented by Borland in their classic IDE/compiler Turbo C++.  Please note that the winbgim.cpp file used by Sandor (and therefore quite possibly Knizhnik, Richardson, and Main) seemed to contain an error in the ellipse and sector drawing routines that caused elliptical arcs with angles that started or ended in the second or fourth quadrants to be misdrawn.  I have fixed that error and recompiled winbgim.h and winbgim.cpp into libbgi.a so that the new library draws elliptical arcs correctly.  I used the same compiler settings as Sandor.  All source code, old and new, is here.

These 4 files, provided here in winbgim_devcpp4990_20041220.zip, are

  1. winbgim.h    (place in C:\Dev-Cpp\include)
  2. conio.h      (place in C:\Dev-Cpp\include)
  3. libbgi.a     (place in C:\Dev-Cpp\lib)
  4. libconio.a   (place in C:\Dev-Cpp\lib)
Download and unzip the four files, placing each in the directory indicated.  If you installed Dev-C++ in a directory other than C:\Dev-Cpp, use that instead.  If you have older versions of any of the files, delete, overwrite, rename, or remove the older versions.  The older versions are no longer useful for versions 4.9.9.0 or later of Dev-Cpp.

Once these four files are installed, there are two more steps to use the BGI graphics routines.

This two-step procedure must be followed every time you start a C++ Console Application in which you use BGI graphics--UNLESS you add the following to your Dev-C++ configuration:

How to add a new C++ Console Application with Graphics template to Dev-C++