Computing.Net > Forums > Windows XP > running a DOS based C++ compiler on XP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

running a DOS based C++ compiler on XP

Reply to Message Icon

Name: BungoMan
Date: March 20, 2002 at 23:39:22 Pacific
Comment:

i recently downloaded the free borland C++ compiler and much to my dismay it needs to be run in a DOS environment, i have absolutely no clue how to do this on XP, if anyone out there knows what im talking about any help would be greatly appriciated



Sponsored Link
Ads by Google

Response Number 1
Name: SFA
Date: March 21, 2002 at 00:57:30 Pacific
Reply:

To start a DOS prompt go to start>run and type command.com, then return.

In order to get the Borland compiler to work, you will have to add the location of the compiler executable to your startup path.
To do this, press windows key+e to open explorer. Right click on 'my computer' in the list on the far left of the screen. Goto properties>advanced>environment variables. Find 'path' in the lower window, then press edit. Add a semicolon to the end of the existing list, then type the path to the 'bin' subdirectory of your main Borland directory e.g. c:\Borland\bin\
You will also need to create two extra configuration files in this bin directory. Details of these should be in the help file that comes with the compiler.

With Borland, remember to name your source files *.cpp, else the compiler will not work. To compile something, open the dos prompt, go to the directory of the source file (use chdir or cd) and type bcc32 filename.cpp



0

Response Number 2
Name: sunvi
Date: April 16, 2002 at 22:52:56 Pacific
Reply:

i want to download it...any site recomended?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: running a DOS based C++ compiler on XP

Wndows XP and DOS base prg issue www.computing.net/answers/windows-xp/wndows-xp-and-dos-base-prg-issue/46920.html

Dos Based Games on XP? www.computing.net/answers/windows-xp/dos-based-games-on-xp/18270.html

running a DOS program with command line www.computing.net/answers/windows-xp/running-a-dos-program-with-command-line/12894.html