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

Last Updated: December 7, 2013

Step-by-step procedure to install Turbo C++ on 64 bit Windows 7 and Windows 8 using Dosbox.

1. Install the software DOSBox ver 0.73
2. Create a folder,for example „Turbo“ (c:Turbo)
3. Download and extract TC into the Turbo folder (c:Turbo):
4. Run the DOSBox 0.73 from the icon located on the desktop:

5. 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

6. Type d: to shift to d:

7. Next follow the commands below:
cd tc
cd bin
tc or tc.exe [This starts you the Turbo C++ 3.0]

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:Turbo .
So make the path change to something like D:TCinclude and D:TClib respectively )

SEE ALSO:  How Linux is Built And Developed 

How to start 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:

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

Please note:
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)

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.


Beebom provides useful digital tips and resources on software, apps and gadgets you can’t live without. Our aim is to become your favorite digital resources destination on the web.


  1. […] 'site' : '', 'section' : 'site', 'zone' : 'rectangle', 'size' : '0x0' }; How to install Turbo C++ on Windows 7 64bit? | thetecnica CPU: Intel Core i5 2500K + Enermax ETS-T40-VD| MB: Asus P8P67-LE | RAM: 2 x 4096 MB DDR3 […]

  2. Whenever i change D:turboinclude to c:turboinclude and run my file it says ” unable to open iostream.h” also it says prototype of clrscr not found and similar errors please help

  3. […] the type who likes to do her/his things her/his OWN way, then (s)he may enlighten her/himself from this […]

  4. Thanks, it helps me to install turboc in windows 7. but i faced one problem, when i press alt+enter full screen comes. but i can not able to write on it even mouse does not work. but in small screen it is not happened. plese help me.

  5. after compiling any program this error coming – i am getting a problem as unable to open include file”STDIO.H” & “CONIO.H” please help me out….

  6. do i need to use dos again and again?
    i mean is there a way that i can simply open it without writing command prompts…???

  7. Made a simple program of scanning to numbers from user and adding them.When i press enter after i type in the values the output screen vanishes and i land up on the program page again. Then i have to re-run the program to see what the output of the initial program was. Any solutions?

    • you don’t need to re-run simply go to Window(in the tool bar on top of your screen)>Output.
      the thing is the program you designed asks it to terminate at the point one enters the values. This is the way it is.
      To get over , you should use getch(); (included under header conio.h) as Vishal explained.
      It’d be better to use it with every C program.

  8. i need help. when i try to get the output, the output comes on the main DOSBox screen similar to the first image. I’m not running DosBox 0.73 though…its 0.74. Is that why?

    • Well, I do not know but maybe this help. Go check for the path specified in your directories.
      It is blank in my Tc , so I’m getting outputs in my TC only.
      Check if the path is for the Dosbox or anything.

  9. Thanks it works;
    Advice to newbies please don’t forget to change directories as given above i.e.,Options>Directories>Under Include directories: delete whatever is there and type: “D:TCinclude” and Under Library directories rewrite the existing text with “D:TClib”.
    Leave Output directory and Source directories blank.use Alt+Enter for fullscreen.Thank You

    • hey i 2 gt the same problem…bt i found a solution.. do try it!!!!
      first after coding ur program save it then go to OPTIONS->DIRECTORIES->
      and then type D:TCinclude and D:TClib respectively.
      hope it works…. 🙂

    • First make sure of the drive you’ve installed your software in.
      Then open Tc.exe, where you code your programming and in the tool bar on the top of your screen go to Options> Directories…
      In case if you’ve installed your Tc in C drive, make sure that the path specified for ‘Include directory’ is saved in C drive.
      For instance for me it is “C:TcINCLUDE” (Check the path for your Include folder and save it in here)
      Same applies for the ‘LIB DIRECTORY’ .

    • Can you elaborate your error ?  There can be a lot of reasons of not getting the output. Also In drop box you can’t use Ctrl+F9 shortcut to Run Program because Ctrl+F9 will exit DOSBOX .

  10. i am not able to compile my files its says stdio and iostream file not found
    kindly reply wats the problem and wat  can i do

    • You have to change the path of the header files from c:/TC/ to D:/ and it able to get all the files and program will compile easily……