GuitarZone.com FORUM: C++ compiler question - GuitarZone.com FORUM

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

C++ compiler question Rate Topic: -----

#1 User is offline   guru of rock n roll Icon

  • Just another fail post
  • Group: GZ Regular
  • Posts: 7,603
  • Joined: 02-January 06

Posted 14 January 2009 - 12:00 AM

I searched all over the net before turning to this thread. I want to learn how to program some and I decided to try C++. I downloaded the Borland compiler installed it. But I can't get it to execute. I know how to make .cpp files. When I bring up the prompt window it's not the one. I followed these instructions to no avail

  • Go to start, click on run, and type "Command", and hit enter.
  • Now, type "cd c:\borland\bcc55\bin" and hit enter.
  • You should be in the above directory now (your prompt should read: "c:\Borland\BCC55\Bin"); if not, check that you typed it correctly.
  • Type in "bcc32 test.cpp" and hit enter. This should result in the following output if everything worked:
I followed these steps in try to set it up.
dow)

* 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]

______________________________

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:

-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"


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:

-L"c:\Borland\Bcc55\lib"

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

I don't understand what I am doing wrong. : (
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users