Monday, 19 December 2011

Requirements to write a program

Before we start programming in C++ we need a compiler. We will be using a
command line compiler for this tutorial. I will be using Borland C++ Compiler
5.5, Dev C++ and Dev Pascal compilers. You can use any other ANSI/ISO compliant compiler such as gcc. 

To make our compiling process easy, as these days are the days of Graphical User Interfaces (GUIs) You can download a free Code-blocks IDE (Integrated Development Environment) at www.codeblocks.org/

When you have your C++ compiler and or Pascal compiler then you are ready to start programing.

You may find the Links listed below to be very useful as they are download sites for most of the compilers that you can find on the internet.


Downloading the Bloodshed Dev Compilers (For Dev Pascal and Dev C++)
http://www.bloodshed.net/

Downloading the GNU GCC compiler & GDB debugger
Go to http://www.mingw.org/download.shtml and download the file named MinGW-x.y.z.exe, where x, y and z are version numbers. At the time of this writing, this file is MinGW-3.1.0-1.exe.
This setup file contains everything needed to compile and debug windows programs.


Downloading the Microsoft Visual C++ Free Toolkit 2003
Go to "http://msdn.microsoft.com/visualc/vctoolkit2003" and click on the link labeled "Download the Visual C++ Toolkit 2003". This will download the setup file.


Downloading the Borland C++ Compiler 5.5
NOTE: At some point, by following the steps described below, you will be asked to register with Borland and fill out a survey. Registration is free.

Go to "http://www.borland.com/products/downloads/download_cbuilder.html#" and click on the link labeled "Compiler". After you accept the license agreement, you will be provided with download links to the setup file.

Downloading the DigitalMars Free Compiler
Go to "http://www.digitalmars.com/download/dmcpp.html". Accept the license agreement and you 'll be redirected to a page containing download links. Download the compiler (current version is 8.41). You might also want to download the resource compiler (in basic utilities), as well as the STLport.

Downloading the OpenWatcom Compiler
Go to "http://store.scitechsoft.com/product_info.php?products_id=37" and click on the link labeled "Download Site". You will be taken to an http listing. Select the version you want to download (current version is 1.3).

No comments:

Post a Comment