How to install Turbo C++ on Windows 8 or Windows 7 64bit?

If you are using Windows 8 or Windows 7 64 bit, then it is obvious that Turbo C won’t run in your system, as such 64bit systems are not compatible with 16 bits programs. Turbo C is a 16 bit program.

And when technology of Computer Architecture has come to 64x processor, we cannot jump back to granny’s 32 bit system just to use Turbo C; again not when you have a cool idea on how to install Turbo C++ on Windows 8 or Windows 7 64bit Operating System.

So, here I have written a simple yet useful way to run Turbo C on your 64bit Operating Systems using DosBox 0.74. Hope this will help you to write your projects in your 64 bit PC using C language and be a cool programmer.

Tools and Software Required

  1. DOSBox ver 0.74
  2. Extracted Folder of Turbo C (TC)

The secure download links to required tools and software are added to our Facebook Notes; you can copy those files directly from my computer, and it’s totally virus free. I did so, because many other sites were making Spams and spreading virus with their links. So, please visit here to download 

Follow the Steps to install and run Turbo C in Full-Screen on 64 bit System

1. Install the software DOSBox ver 0.74

2. Create a folder on your root drive, for example ‘TurboC’ (C:\TurboC\)

3. Download and extract TC into the Turbo folder (C:\TurboC\)

4. Run the DOSBox 0.74 from the shortcut located on the desktop

Why do you think 64 bit Systems does not run 16 bit programs, like Turbo C?

Why do you think 64 bit Systems does not run 16 bit programs, like Turbo C?

5. Type the following commands at the command prompt

Z:\> mount d c:\turboc\

[When the folder TC is present inside the folder TurboC]

Now you should get a message which says:

Drive D is mounted as a local directory C:\TurboC\

Changing TurboC folder to Virtual D: Drive notation on DOSBox

Changing TurboC folder to Virtual D: Drive notation on DOSBox

6. Type

Z:\> d:

To shift virtual Z: drive to D: drive. Now this D: drive indicates your ‘C:\TurboC’ as a whole

Open Turbo C Full Screen on DOSBox with CMD commands

Open Turbo C Full Screen on DOSBox with CMD commands

7. Next follow the commands below:

D:\>cd tc
D:\>cd bin
D:\>tc or tc.exe [This should start the Turbo C++ 3.0]
Running Full-Screen Turbo C compiler on Windows 8 or Windows 7 64 bit

Running Full-Screen Turbo C compiler on Windows 8 or Windows 7 64 bit

8. 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:\TurboC\)

So make the path change to something like D:\TC\include and D:\TC\lib respectively)

How to start TurboC++ in the DOSBox automatically?

Now, if you don’t want to repeat all these steps time and again when you have to run Turbo C Compiler, you can also monitor DOSBox to automatically mount your folders so that Turbo C Compiler would automatically start after you open the DOSBox shortcut on desktop.

To do that, for DOSBox versions older than 0.73 browse into program installation folder and open the dosbox.conf file in any text editor. (For DOSBox 0.74 open DOSBox 0.74 Options batch file on installation directory folder)

Editing DOSBox Configuration file, under the Start Menu in Windows 7

Editing DOSBox Configuration file, under the Start Menu in Windows 7

In Windows 7 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 as shown in below figure

mount d: c:\turboc\
d:
cd tc
cd bin
tc.exe
Adding command lines to hack DOSBox

Adding command lines to hack DOSBox

Remember

  • To start the Turbo C in Full screen enter Alt + Enter on your Keyboard.
  • 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 .
  • DOSBox also allows you to take screenshots with PrntScr button on your Keyboard, now you can capture your Graphical Interfaced programs and share the screenshots with others.

Hope, it will be helpful for you to work with C programs. Don’t forget to share it with your friends, they may also be waiting for this solution to run Turbo C in full-screen on Windows 7 or Windows 8.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>