Prev Up Next
Go backward to Cygwin Tools (Including GNU C++)
Go up to Resources
Go forward to C++ Web resources

C++ compilers

Information about C++ compilers particularly relevant to this course, especially compliance with the C++ standard, can be found at the following Web pages

GNU C/C++ compiler, g++

For this course, version 2.95.2 or 2.95.3 is recommended. Version 2.95.2 is installed on CS Lab Suns. Version 3.0.1 is also available, but may not be stable enough. The main standard-compliance problem with pre-3.0 versions is lack of namespace support. For the Windows platform, the Cygwin distribution currently includes g++ 2.95.3. This compiler is a just a command line compiler, but in combination with the compilation support commands of Emacs you can have a reasonable edit/compile/execute environment.

Borland compiler

This compiler is available free for use on the Windows platform:

Borland C++ Builder Compiler

It is a just a command line compiler (Borland offers a visual environment but not for free), but in combination with the compilation support commands of Emacs you can have a reasonable edit/compile/execute environment. Standard compliance in fairly good, including full support of namespaces. (If you use g++ (pre-3.0) as your primary compiler, you should also try your code with a compiler that fully supports namespaces to make sure you don't have namespace problems.)


 

Prev Up Next