C++Builder
Introduction
Borland released their C++ compiler version 5.5 for free a while back. You can still download it from their official page on the matter. I'll leave it to you to go and get it from there. I don't want to infringe on any legalities by allowing you to download it from my site.
This is a very good compiler. It's probably faster than any GNU Windows port and by golly it's garsh darn free!
Obtainment
Here's the step by step process to obtain this compiler for free. This should take you less than fifteen minutes. The most time consuming part is filling out a small registration form. The rest of the places you need to give your input, I'll have the answers you can fill in so you can think less :).
-
Go to http://www.borland.com/bcppbuilder/freecompiler/cppc55steps.html and click on "STEP 1".

-
A new window will pop-up that asks you to log in. You can close the original browser window if you want to. Unless you've done this before, you probably don't have anything to put here so click the "NEW USER" button.

-
Now you'll have to fill out a silly registration form so they'll know who to contact if the safety of the world has been compromised by software compiled using C++Builder. I can't recommend you to put fake information here, but also realize that this is a secure page and they'll never actually call or write you (if they do, you can always sue them for unsolicited commercial shit).
If you don't you will be bombarded with Borland spam, I'd suggest you uncheck all the boxes at the bottom of this page. But make sure you type in a valid email address so that you can complete the registration and get your free goody. Email address hosted by free web services (Hotmail, Yahoo, etc.) are valid.
After filling out the form click the "CONTINUE" button at the bottom.

-
The next page is a bunch of checkboxes. I'd suggest checking "C++Builder" in the first section, "Other" in the second, "Beginning Developer" in the third, and "Do not publish my email address even if ..." in the fourth. Click "SUBMIT" after you have done this.

-
At this point you'll be told to wait for an email and you should.

-
An email will come under the name "Borland Community", address "mailbot@borland.com", and subject "Your Borland Community Account Activation Code". Make sure your email client doesn't delete it thinking it's spam :).
Open it up and look around mid-rift. There will be a URL.

Go to this location with your web browser (or click on it if your email client supports that).
-
The site will verify your activation code and you'll get a page that's practically empty that simply welcomes you to the Borland Community. Don't click on the link they give you, just close that window.

-
Go back to http://www.borland.com/bcppbuilder/freecompiler/cppc55steps.html and click on "STEP 1" again.

-
A new window will pop up like last time. Unlike last time you won't get the comfortable login page to use your newly created login id and password. It'll show you the silly registration form again. Bear with it. Type in your password, scroll down to the end of the page and click submit.

-
Again you'll see the crap with all the checkboxes. Everything will be how you set it last time so just scroll down to the bottom and click "SUBMIT".

-
Now you'll see something new. This page has a terms of agreement on it. Basically by allowing you to download their compiler, you're allowing them to ask you about your experience with it. Don't worry, if they actually call you or contact you, simply tell them to stop bothering and never call/email you again (they'll be required by law to do so ... at least in the USA).
Make sure the option "I hereby consent" is selected and click "SUBMIT".

-
Geez, time to fill out a survey. It's some work just for a free compiler, huh? If you feel overwhelmed, you can just use the following answers to check off/fill in:
- Borland C++ 5.x
- Borland C++Builder / Borland C++
- Download
- no plans now
- Windows 95, Windows 98, Windows NT, Windows 2000
- Other
- None
- None
- None
- Beginner
- None
After you've filled in all the fields, click the "SUBMIT" button at the bottom.

-
The license agreement page is next. This is a doozy if you want to read the whole thing. When you're finished reading or not reading, click the "I Agree" button at the bottom.

-
You've finished! Now you can download the compiler. You'll be provided with a page that has a simple, raw URL to the file on their FTP site. The file is "
freecommandLinetools.exe
" and it's 8,726.6k in size. You can download it directly from their or use your own download manager.

Installation
What's funny is that even though this compiler has a setup program (unlike MinGW or DJGPP) there are more steps due to creating and/or editing files. These instructions install the compiler to C:\Borland\BCC55\
.
-
Follow the Obtainment instructions from above.
-
Run the file
freecommandLinetools.exe
after downloading it.

-
The first dialog is simply a splash page. Click "
Next
".

-
The next dialog has you type in the path where the compiler will be installed. Make sure it is "
C:\Borland\BCC55
" and click "Finish
".

-
Since you shouldn't already have that folder on your computer (duh), it'll make sure you want to create it. Just click "
Yes
".

-
Let it unpack everything.

-
It'll pop up a window with a CIA-like message. Just click "
Ok
" to close it.

-
Create a text file called
bcc32.cfg
in C:\Borland\BCC55\bin\
with the following lines:
-I"C:\Borland\BCC55\include"
-L"C:\Borland\BCC55\lib"
-
Create a text file called
ilink32.cfg
in C:\Borland\BCC55\bin\
with the following lines:
-L"C:\Borland\BCC55\lib"
-
Open up the file
C:\AUTOEXEC.BAT
. Insert the following line at the beginning of it:
PATH=C:\Borland\BCC55\bin;%PATH%
-
Restart your computer.
-
Open up a console window and type the following:
bcc32 ?
[enter]
You should get the following output:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2194: Could not find file '?.cpp'
Yay! It is successfully installed!
Build Program: From Single File
To compile a single C++ file into an executable, type the following:
bcc32 file.cpp
[enter]
You should replace "file.cpp
" with the filename of your source file. This will produce an executable with the same base name, but with the extension ".exe
".
Links
C++Builder Compiler Official Homepage