Friday, August 20, 2010

Use Turbo C++ in Windows 7 and Vista

Step 1 : Extract the turboC++ files [i.e. TC folder] in ur desired directory

Download TurboC++ by Clicking Here

In my case it is in E:\Programs\

So after extraction i have all the files in folder E:\Programs\TC


Step 2 : Install the software DOSBox ver 0.74 ( 1.4 MB ) (Freeware)

Click Here to download

OR

Go to

http://www.dosbox.com

Install the latest version if available.



Step 2 : Once done with the installation, run dosbox. You can do it by double clicking the icon on the desktop.


Now 2 windows will open which look quite similar to the command prompt window
.

One window is the status window which you can ignore [but not close].

Now open the other window which shows Z drive.



Step 3 : There type the following commands at the command prompt [Z]:

mount [Type in any alphabet that u wish except z] [Type the source of the turbo C] press enter

In my case the command is :

mount n e:\programs\tc

and press enter.

You will get a confirmation message :

Drive N is mounted as local directory e:\programs\tc\



Step 4 : Since you havent yet installed turboc++ you will first need to install it first.

Now type

n:

and press enter.

Now to install the software type :

install.exe

press enter.

Install the turboc++ software following usual steps.

there select installing drive as "N" and root directory as "\"

Now close the dosbox and come out of everything.

Now you have c++ installed on your system and each time you want to use it you will have to follow following steps :

Step 1 : Open dosbox


Step 2 : Type :

mount [Type in any alphabet that u wish except z] [Type the source of the turbo C] press enter

In my case the command is :

mount n e:\programs\tc

and press enter.


Step 3 : Now type (to go to tc folder where actual installation lies) :

cd TC

Step 4 : Type

cd BIN

Step 5 : Type

TC

or u can also type

TC.exe

Now TurboC++ will open

Press Alt+Enter to go to full screen mode.

Now change options>directories if required

Use all features of TurboC++ on Windows 7 or Vista.


once done close turboc++.

To exit full screen press alt+enter again.

Close dosbox.



IMPORTANT NOTE : Don't use shortcut keys to perform operations in TC because they might be a shortuct key for DOSBOX also . Eg : Ctrl+F9 will exit DOSBOX rather running the code .

0 comments:

Post a Comment