turbo c++ hello world

In this tutorial, we’ll show you the step-by-step procedure to install Turbo C++ on 64 bit Windows 7,8,8.1 and Windows 10 (32-64 bit) using DOSBox.

System Requirement

Operating SystemPre-Requirement
Windows 7, 8.1 and 8No Pre-Requirement
Windows 10.NET 4.5 Framework Required

How To Install Turbo C++

  • Click Next
  • Now, Select components to install as per your requirement. Click Next
  • Select the Destination Folder to install your DOSBox. Example, we are using the default Destination Folder for installation. And click next
  • And when the installation completes click “Close”.
  • Now, Create a folder, for example, Turbo (C:\turbo).
  • Download and extract TC into the Turbo folder (C:\turbo).
  • Run the DOSBox 0.74 from the icon located on the desktop.
  • 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\
  • Type d: to shift to “d:”
  • Next, follow the commands below:
cd tc
cd bin
tc or tc.exe

[This starts you the Turbo C++ 3.0]

  • 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 C:\turbo\TC\INCLUDE and C:\turbo\TC\LIB respectively)

How To Start Turbo C++ In The DOSBox Automatically:

(Only for older versions)

  • 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 the 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

Scroll down to the very end, and add the lines:

mount d c:\turbo\
cd tc
cd bin

Please Note:
Fullscreen: Alt + Enter
When you exit from the DOSBox [Precisely when you 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)

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.



Please enter your comment!
Please enter your name here