The Open Source of Hovering Ideas

Posts tagged “compiler

Install and Run C++ In Windows 7


Well Guys, Since most of us are having Windows 7 Operating Systems in our PCs or Lappies.

I’ve noticed that there is problem in Installing some of the Old C++ compliers (especially Turbo C++). A lot of my friends are still having a difficulty in Installing and further Running the Application.

Regarding this issue,  I’ve searched through Internet and finally, discovered its Solution, which I’m gonna with y’all right now in the following Points Step-by-Step.

Installation of TurboC++ in Windows 7

1. Download Turbo C++ complier, which is easily available on various Software Sharing Websites.
Otherwise, Download from here
2. Extract the zip files to: e.g. C:\TurboC

step1 How to install Turbo C++ on Windows 7Extract zip files

3. Run the installation file: C:\TurboC\INSTALL.EXE

step2 How to install Turbo C++ on Windows 7Run the install

4. Press Enter to continue

step3 How to install Turbo C++ on Windows 7Press Enter to continue

5. Enter the Source drive: e.g.C   and press Enter to continue

step4 How to install Turbo C++ on Windows 7Enter the Source drive

6. Enter the Source path: \TURBOC    and press Enter to continue

step5 How to install Turbo C++ on Windows 7Enter the Source path

7. In directories, Specify where Turbo C files are copied. E.g.  C:\TC . When done go to start instalation and press Enter

step6 How to install Turbo C++ on Windows 7Specify where Turbo C++ files are copied

Hence, Your Installation is successful. 😀

step7 How to install Turbo C++ on Windows 7Succesfull instalation

8. Launch from your destination      e.g.   C:\TC\BIN\TC.EXE

step8 How to install Turbo C++ on Windows 7Launch from your destination

Sometimes, It might not Run properly or even would be unable to Run. So therefore, After Downloading and Installing Turbo C++ complier in your System, We now require a DosBox Software, which is capable of running Turbo C++ Complier in Windows 7 64-Bit format very easily.

Installation of DosBox in Windows 7

1. Install the software DOSBox ver 0.73 :Download from here

2. Run the DOSBox 0.73 from the icon located on the desktop:
step 1 How to install Turbo C++ on Windows 7 64bit
3. Type the following commands at the command prompt

[Z]: mount d c:\Turbo\ [The folder TC is present inside the folder Turbo]

Now you should get a message which says: Drive D is mounted as a local directory c:\Turbo\
step 2 How to install Turbo C++ on Windows 7 64bit
4. Type d: to shift to d:
step 3 How to install Turbo C++ on Windows 7 64bit
5. Next follow the commands below:

cd tc

cd bin

tc or tc.exe [This starts you the Turbo C++ 3.0]

step 4 How to install Turbo C++ on Windows 7 64bit
6. In the Turbo C++ goto Options>Directories> Change the source of TC to the source directory [D] ( i.e. virtual D: refers to original c:\Turbo\ . So make the path change to something like D:\TC\include and D:\TC\lib respectively )

Starting TurboC++ in the DOSBox automatically:

You can save yourself some time by having DOSBox automatically mount your folders and start TurboC++:

For DOSBox versions older then 0.73 browse into program installation folder and open the dosbox.conf file in any text editor. For version 0.73 go to Start Menu and click on “Configuration” and then “Edit Configuration“. Then scroll down to the very end, and add the lines which you want to automatically execute when DOSBox starts.
Automatically mount and start Turbo C++3.0 in DOSBox ver 0.73:
step 5 How to install Turbo C++ on Windows 7 64bit
Scroll down to the very end, and add the lines:
step 6 How to install Turbo C++ on Windows 7 64bit
Those commands will be executed automatically when DOSBox starts!
Please note: For Full screen: Alt and Enter

When you exit from the DosBox [precisely when u unmount the virtual drive where Turbo C++ 3.0 has been mounted] all the files you have saved or made changes in Turbo C++ 3.0 will be copied into the source directory(The directory which contains TC folder)

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

Moreover, I’ve uploaded an VIDEO tutorial for your convenience. Take a look on it Fellows.