The problem is that Turbo C is an ancient product which has not been maintained for several years. It cannot produce programs which will run on 64 bit windows; nor will the program itself run on 64 bit Windows; it is a 16 bit application. NTVDM (the subsystem which allows backward compatibility in Windows NT to run 16 bit apps) is completely removed in 64 bit versions of Windows
How to runBorland Turbo c on vista64 bit or Windows 7The easiest way to get Turbo C/C++ to run is using DOSBOX which emulates the environment of an old 16bit MsDOS computer. This works very well and will allow you to run most programs (even CGA/VGA/SVGA graphics).
If you wish to run Turbo C on Linux there is DOSEMU.
Follow these easy steps -
- Download DOSBOX emulator for windows versions.
- Run the DOSBox software which you downloaded from above link in step 1.
- Then u will get screen which look like the command prompt in Windows.
- Now , Type in the following commands after the Z prompt:
- Just type “mount c: c:/tc” and press enter.
- Assuming that Turbo C++ is installed in C drive and TC folders located at C:\TC
- You may get a message that 'Drive C is mounted as local directory C:/TC\'
- Change the directory from z prompt to C/BIN/tc.exe.
Now the Turbo C++ will open in DOSBox. Press ALT+ENTER to open in full screen.
Video tutorial on Installing Borland Turbo c++ compier on Win7
How to start TurboC++ in the DOSBox automatically:You can save some time by having DOSBox automatically mount your folders and start TurboC++ evertime you start your computer
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.
mount X C:\TurboC
Automatically mount and start Turbo C++3.0 in DOSBox ver 0.73,Those commands will be executed automatically when DOSBox starts!