/ Tech updates

[How-To] Install Turbo C++ in Windows 7 32bit/64bit

As an developer, who don't know the importance of the good compiler for executing the developed applications? Many of my beginner developer friends,  nowadays, are confused how to use Turbo C++ compiler for C/C++ programming language in Windows 7. So, here is a tutorial how to install Turbo C++ in your PC running Windows 7.

Some of my friends are using several tricks to use it. Some have downgraded to Windows XP. But this is not possible for all to move back to Windows XP for a single application, and becomes more difficult if you are addicted to Windows 7.
So, here is a simple tutorial on How to install Turbo C++ compiler in Windows 

  1. First of all, a fact should be known that Windows 7 don't directly support any DOS based applications to run into it. So, first of all, you need to install a third party application called DosBox 0.74.
  2. This application basically provides the essential environment for Turbo C++ or any DOS related application to execute in it.
  3. Here is a download link. Download DosBox 0.74 
  4. Now, install DosBox as usual.
  5. Now you will need to download a installed Turbo C++. You can download it here. Download Turbo C++ installed 
  6. Don't download Turbo C++ setup from any other location, as it won't work. Only download it from the link provided above.
  7. After downloading the .zip file, extract it to C:\Turbo 
  8. Now go to the directory where the program DosBox 0.74 is installed.
  9. Open the file named DOSBox 0.74 Options.bat. It will look like below image.
  10. DosBox 0.74 options.bat will look like this

Now navigate till the end of the file and insert the lines shown in the image below.

If you can't see the lines in the image, here are the same lines.

mount d c:\Turbo\
cd tc
cd bin

After editing is done, save the file and then open the DosBox it will open like this.

If you want to have a full screen feel, press Alt+Enter to see the window in full screen.

Now, in Turbo C editor, goto Options > Directories..

Now put the following values in the fields mentioned below.

Include Directories : D:\TC\INCLUDE

Library Directories : D:\TC\LIB

The following image will give you a clear idea.

Enjoy C Programming on Windows 7.
Rajat Patel

Rajat Patel

Founder at TheNextGeek.com. Software Engineer & Business Analyst by profession. Avid open source evangelist. Mostly writes about Technology that interests him, and some neat tricks to make your day-to-day tech life a breeze.

Read More