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

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

Steps:
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:

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

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

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

6. Type d: to shift to d:

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

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

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

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:

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

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

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

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.

#Tags
comment Comments 29
  • […] 'site' : 'computergames.ro', '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 […]

  • Amrit says:

    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

  • Turbo C++ For Windows Vista,7,8 x32 & x64 | zeomal says:

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

  • subhajit says:

    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.

  • prashanth says:

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

  • inmadness says:

    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…???

    • No you can do it with single click . write “start location of dosbox” eg: “start E:dosboxdosbox” and save as ‘filename.bat’ .

  • NISHOK says:

    ITS WORKING!!!!

  • Henry says:

    thanks a lot ! it really helps …

  • m not able to see the output..help plz

    • In drop box you can’t use Ctrl+F9 shortcut to Run Program because Ctrl+F9 will exit DOSBOX .

  • Ankit Bhardwaj says:

    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?

    • Vishal says:

      at the end of your main function, place “getch();” dont forget to include conio.h for this

    • Mitesh says:

      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.

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

    • Mitesh says:

      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.

  • Vivek says:

    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

  • bala says:

    Thanks alot dude…………

  • Mathewkurisu says:

    guys, it shows the header file cant be opened. plz help

    • arpan says:

      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…. 🙂

    • Mitesh says:

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

  • Nileshtambe16 says:

    i cant see the output .. plz help…

    • thetecnica says:

      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 .

  • Ng Simple 123 says:

    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

    • Privartan Chhabra says:

      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……

  • saloni ranka says:

    could you tell me how to use shortcut keys on Turbo C simulator on windows 7?

    • thetecnica says:

      In drop box you can’t use Ctrl+F9 shortcut  because 
      Ctrl+F9 will exit DOSBOX

      • Sneha Shirke says:

        after compiling any program this error coming – unable to open include file”STDIO.H” & “CONIO.H”…..so what i need to do????

      • Vaibhav Rawat says:

        after typing ‘cd bin’ it says dat ‘unable to change to bin’!!wat acn i do?!

Leave a Reply