Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 01-14-2009, 01:51 AM   #1
Beta Member
DigitalMusician's Avatar
Join Date: Jan 2009
Posts: 1
Default Borland C++ compiler

I decided to learn all I can about computers. I started html and I wantrd to start programing. I downloaded the Boland complier. I am a n00b when it comes to this type stuff. But I followed the instructions on the web page to install it. This is what I did.

I downloaded and installed it.
Then I did these steps.

Open a console box.
1. Start | Run...
2. Type "command" into the field [Enter]
* Or, if Windows 2000/XP:
Add a path reference to the Environment variables:
3. Using the mouse, right-click on the "My Computer" icon (on your desktop) and choose "Properties".
4. Click on the "Advanced" tab.
5. Click on the "Environment Variables..." button.
6. Highlight the "Path" System variable (bottom).
7. Click on the "Edit..." button.
8. Append the line with ";C:\BORLAND\BCC55\BIN;"
9. Click OK (in the "Edit System Variables")
10. Click OK (in the "Environment Variables" window) and click OK (in the "System Properties" window) Navigating to the directory, "c:\Borland\bcc55\bin"
11. cd borland [Enter]
12. cd bcc55 [Enter]
13. cd bin [Enter]
Also these steps
Creating the configuration files:

Note: The command line should read: C:\BORLAND\BCC55\BIN

Part 1: Creating BCC32.CFG.
1. Type "edit bcc32.cfg" [Enter] (This creates the file and opens a blank window in the editor).
2. Add these lines:


3. Save the changes (Alt-F then hit S).
4. Exit edit. (Alt+F then press X).

Part 2: Creating ILINK32.CFG
5. Type "edit ilink32.cfg" (This creates the file and opens a blank window in the editor).
6. Add these lines:


7. Save the changes (Alt-F then hit S).
8. Exit edit. (Alt+F then press X).
9. Type "exit" [Enter]
10. Restart Windows.

My problem is when i get to this part.

Testing the compiler:

Open a console box.
1. Start | Run...
2. Type "command" into the field [Enter]

Create a directory or navigate to where you want to store your source, for example:
3. Type "cd"
4. Type "mkdir MySource"
5. cd Mysource
(Now in c:\MySource)

Create a new source file, for example:
6. Type "edit hello.cpp"
7. Paste or type the following code in the editor:

#include <iostream.h>
int main(void)
cout << "Hello." << endl;
return 0;

8. Save the changes (Alt-F then hit S).
9. Exit edit. (Alt+F then press X).

Now, compile the program to create an executable:
10. Type "bcc32 hello.cpp"

Finally, you may run the application you created.
11. Type "hello"
(The output will appear below your last command line.)

Step 10 doesn't work I tried diffrent sites and the basic programs this is the one that I got the closest to working. What am i doing wrong?

DigitalMusician is offline   Reply With Quote
Old 02-02-2009, 07:56 PM   #2
Baseband Member
Join Date: Oct 2008
Posts: 21
Default Re: Borland C++ compiler

Since nobody answered yet, I'll try to help you out...

What error messages on the command-line are you getting? You have to be more specific. Also, I'm assuming you're using Windows XP or Vista???

Type bcc32 alone without the hello.cpp after it. What does the output say? Does the error message imply that bcc32 was not recognized or that hello.cpp was not recognized or found?

bcc32 must obviously be an executable file and might not be in the right place. Try typing the absolute paths like this (these paths are just example paths; you have to find the actual paths on your computer yourself):

c:\borland\bcc32.exe c:\MySource\hello.cpp

Or it could be another problem... I don't know.

I would download Dev-C++. I don't remember having to do all that stuff to install it.
miked8887 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0