DAT2219d - Computer Programming I
Fall 2003
C++ Language Reference (reduced subset)
Free C++ Compilers
- TCLite
This is the "free" version of Turbo-C++ 3 (the official course
compiler). It is a "limited" version which generates .EXE files which
can only be run within the TCLite IDE. There appears to be a copy of
the necessary files and directories in the Algonquin COURSEWARE TCLITE
directory (including a EXEFIX program which will "patch" TCLite
.EXE files to run outside of the TCLite IDE); otherwise, a search
of the internet should provide a collection of sites with copies of
this common package.
This package includes the Turbo-C++ 3 Help which is one of the best
help facilities available for syntax reference.
- RHIDE - DJGPP
The RHIDE is a clone of the Turbo-C++ 3 IDE developed by Robert Hoelme
(the source of the "RH" in RHIDE); although it can be used with
several different compilers, its main usage is with the DOS port of
the free GNU C++ (GPP) compiler by DJ Delorie (the DJGPP compiler).
Download and installation instructions are available through the site:
or
This requires a multi-zip-file download and there is a "zip-picker"
package which you will want to use to select the files you need. (The
need to download multiple files and unzip them may discourage some
students from using this package; however, the package itself is
quite stable and is a standard, especially if there is any chance
that you might work with GPP in a Linux/Unix environment).
Note that the DJGPP is a 32-bit compiler, whereas Turbo-C++ 3 is a
16-bit compiler. The major difference is in the size of int
fields; a data file created with Turbo-C++ 3 version int
fields will not be read correctly with a DJGPP (or any other 32-bit)
int declaration.
- Bloodshed's Dev-C++ Compiler
This is a 32-bit compiler which is closer to MicroSoft's Visual C++
or the later Borland C++ compilers, for those who want to experiment
with a "Windows" style of program development. At this time there
are two versions available: Dev-C++ 4 and a BetaDev-C++ 5;
the version 4 has proven to be quite reliable, but you might want
to try the later version.
This compiler is freely available at: