Professional Documents
Culture Documents
html"
http://www.codegear.com/downloads/free/cppbuilder
borland's webpage has information on their compilers, as well as some free downloads of their
earlier compilers (though you probably don't want to use those as they are out of date). they are
now giving away a new version of their compiler, borland c++ 5.5 for free download. it does
require you to become a member of the borland community before downloading the file, but this
registration takes place immediately.
note that this compiler is a command-line tool: you will need to feel comfortable running it from
the dos prompt, or set up an "ide" (integrated developer's environment).
setting up your compiler
once you've downloaded the borland compiler, you can take take the default installation options,
including the default directory, "c:\borland\bcc55". once you've done that, follow the instructions
below to get the compiler ready to use.
* first, we need to tell the compiler where to find the include files and supporting libraries. to do
this, open up notepad (or any other text editor) and paste the following two lines into a blank file:
-i"c:\borland\bcc55\include"
-l"c:\borland\bcc55\lib"
-l"c:\borland\bcc55\lib"
here's a simple program you can copy into notepad and save as "c:\borland\bcc55\bin\test.cpp" to
test your compiler's installation:
#include <iostream>
int main()
{
std::cout<< "i work!" << std::endl;
}
borland c++'s compiler is actually named "bcc32" and it is located in the "c:\borland\bcc55\bin"
directory; the below instructions will take you through compiling your first program.
compiling the program
borland c++ 5.5.1 for win32 copyright (c) 1993, 2000 borland
test.cpp:
turbo incremental link 5.00 copyright (c) 1997, 2000 borland
i work!