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

Few days ago we have posted an article about installing Turbo C++ on 32 bit Windows 7. Now we are providing step-by-step procedure how to install Turbo C++ on 64 bit Windows 7.

1. Install the software DOSBox ver 0.73 : download here
2. Create a folder,for example „Turbo“ (c:\Turbo\)
3. Download and extract TC into the Turbo folder (c:\Turbo\): download here
4. Run the DOSBox 0.73 from the icon located on the desktop:
Run the DOSBox
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:\TC\include and D:\TC\lib respectively )

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:
Those commands will be executed automatically when DOSBox starts!
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 .

VIDEO tutorial (there is another setup – original path to Turbo C++ is h:\tc\ and drive H is mounted as drive C:)

550 comments

  • i have emulated c++
    which can run on windows 7
    and graphics.h can be used in this software of c++
    download link-
    http://www.professionalprogrammers.in/programming_softwares/c++/Emulated_Turbo_C++.rar

    • Melo Panopio

      can someone please tell me why do the output cannot start? hope for an answer.
      i do what the rule said.. but why isn’t it working properly?

  • shoban

    it works thanks a lot……..

  • KAVIT

    no output screen is come………….

  • Shubham

    getting an error—-” Failed to locate DPMI server (DPMI16BI.OVL)
    Please help me remove this error. Reply ASAP

  • Arsalan

    thanks bro it is working. thanks a lot.

  • alok

    thanks ….its really very helpful.

  • gtc00dysc00ps

    extremely efficient…. I have turbo c on my other laptop which is running windows xp… the actual application is an amazing compiler, but i guess this will have to do for now…lol thanks a bunch for the information!!!

  • Nishit

    Thanks a LOT !!!
    You Saved me !

  • prema

    Thanks, Its working. But the problem is when i press alt+enter for full screen, cursor and keyboard getting disabled. How to get a solution for this????

    • Dhruv

      Hey… i also facing the same problem… it’s not working in full screen mode…
      if anyone have solution please help..

  • rose

    hey its not getting installed!!!!!!!!!!!!!!!!

  • hsbd

    hola es que no se como mirar la pantalla en donde sale el ejecutable osea cuando le dio alt+f9 esta opcion me dice cuantos errores tengo y dece que precione una tecla peo me veo el resultado….
    he visto que debe sañlir un ventana negra con lo que se quiere o el propocito del programa pero no me sale….
    le agradesco que me ayudes…

  • Anaya

    Well i was surprised as i just installed turbo c..and dos box..and WITHOUT making any change in any text editor..when i opened dos box…turbo c was running on it….I was surprisingly shocked…as i even didnt make any change in directories or in dos box…

  • Rohan

    heyy thanks a alot its working!!!

  • Abha

    Thanks for being gr8 help!!!

  • aditya

    hai friends in my laptop when turbo is full screen then keybord is not working properly.. so someone help meeee.

  • bhaskar

    great work….! it works perfectly…thnx a lot!!!

  • everything worked fine.
    i am trying to write a very basic C++ code but when compiling , it
    says :
    unable to open include file ‘IOSTREAM’ .

    i have used the command: #include
    I have filled the directories options exactly according to the above
    mentioned tutorials. help plz.

    • Sheldon

      You haven’t changed the drive letter in the options->directory. Change it to the drive which you mount in the first command. e.g. if you typed like this
      mount d c:\Turbo\

      then change it to d in tc.
      Hope it will work.

  • srinath

    Thank u. buti got linker error mui.lib please give a solution urgent.because i am using windows7 os

  • yogesh

    getting an error : unable to locate d

  • hey dude… nyc post dere… works perfectly…keep up the gud work…:)

  • dont have a name

    thanks..followed instructions.. worked like a charm

  • Godfather

    #include
    void main()
    {

    printf( ” My Name is Godfather “);

    }

    ——————————————————————————–

    Error MY_NAME.CPP 1: Unable to open include file ‘IOSTREAM.H’
    Fatal MY_NAME.CPP 2: Unable to create output file ‘C:\TURBO\MY_NAME.obj’

    • Sheldon

      You haven’t changed the drive letter in the options->directory. Change it to the drive which you mount in the first instruction. e.g. if you typed like this
      mount d c:\Turbo\

      then change it to d in tc.
      Hope it will work.

  • but a small problem:
    how can i convert the output exe for 64bit to run it without dosbox???

  • Eric

    Running Win7-64bit laptop.
    I extracted the turboc.zip into c:\turbo\tc, which left me with a lot more unextracted zip files. So I extracted each of those individually.
    Everything worked until step 7; when I was in D:\TC\BIN\ and entered tc, I received illegal command: tc.exe.
    It’s NOT there.
    I opened the turboc.zip, looked in the bin.zip, and I don’t see it there, either. So somehow the base zip and the bin zip are not right.
    I see in the readme that it says you must use the installation calls, but of course, under Win7-64, this won’t run.
    So what am I missing out on here?

  • Sheldon

    Great. It works fine. Thanks a lot. keep posting.:)

  • Rupesh

    #include
    #include
    int main()
    {
    printf(“hii”);
    getch();
    return 0;
    }

    it will give me error as follows:
    unable to open STDIO.H
    unable to open CONIO.H
    printf should have prototype..

  • madhurlittu

    thanks a lot it worked perfectly !!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • saksham

    how do we open the saved files?

  • PRASHANTH

    _/\_ IT WORKS!!

  • Jay Gupta

    when i press alt + enter , it goes full screen but after that, it hangs , please help !!!!

  • Najive Nava Bandali

    Thanks a lot for this! I followed all the instructions and I got it! :))
    Now I can do all my seatworks and homeworks for my Programming course. :))

    Thanks a lot! God bless!

  • jakassh.thx alotttttttttttttttttttttttttttttttttttttttttttttttt

  • Alex

    For dosbox0.74:
    Just in case anyone has doesn’t have the configuration file popping up in the “start-up>dosbox0.74>Configurations”, there is a different way of doing it (although, it might be the long(“-er”, or even “-est”) way.

    Go to:
    {system drive}:\Users\{username}\AppData\Local\DOSBox\dosbox-{version}.conf
    If possible “open-with” the file, using note-pad.
    OR
    Properties>General>”Opens with”>(select)Notepad.

    • soham

      for dosbox0.74
      procedure is almost same , only the file to be copied in has a different name..

      start menu > all programs > DOSbox0.74 > options > dosbox0.74 options
      [dosbox0.74 options is a notepad file .paste the next few lines at the bottom of that notepad ]

      mount d c:\Turbo\
      d:
      cd tc
      cd bin
      tc.exe

  • alnel

    Thank you veryyyy much sir……. happy I’m back with my first loved programming language…

  • Jayashree krishna

    Thanks for d compiler. It’s working……….!!

  • nima

    very very thanks.
    nima

  • ssr

    I’m running Win7-64bit dell laptop.
    I extracted the turboc.zip into c:\Turbo\TC, which left me with a lot more unextracted zip files. So I extracted each of those individually.
    Everything worked until step 7; when I was in D:\TC\BIN\ and entered tc, I received illegal command: tc.exe.
    It’s NOT there.
    I looked in the bin in c, and I don’t see it there, either.
    I see in the readme that it says you must use the installation calls, but of course, under Win7-64, this won’t run.
    So what can i do to correct it? plz reply soon….

  • manjeet

    Hi,
    I am very thankful to you, the website.
    Finally , after a long hassles of running c/ C++ in windows 7, I have got something that is amazing!

  • Deepak Tiwari

    I’m running Win7-64bit dell laptop.
    Thank you veryyyy much sir……. happy I’m back with my first loved programming language…

  • blah blah

    thanks a ton man
    thanks!!!!!!!!!!!

  • pardhu

    I have successfully installed turbo c++. But, the problem with this is, after i run the program successfully, i am unable to compile it. It seems to be hanged and the output is also not being displayed. When i press Ctrl+F9,the entire window is being closed.

    Another issue is, once i close the window after completion of the work, to re-open it, i need to follow the entire procedure again.
    Please help me to resolve these problem.
    Thanks in Advance.

  • Arul

    Hi ,
    we need Turbo C++ to work on Windows Server 2008 and all its clients accessing through RDP … initially the screens were all small in RDP and now the C program is not running at all . it keeps showing an error ..
    thank you for your help..

  • saket

    the instructions were very helpful in installing dos n turboc++. thanks.
    the programs take some time to get compiled n executed, so is there any problem in my laptop?
    could you also help me with making it fullscreen. alt+enter is making it large but the keyboard n mouse arent working. my laptop also notifies that the screen resolution isnt the optimum one and that the dosbox is the reason for it. could you also help me out with these problems?
    btw is there a way by which i can run tc without dosbox??

  • suresh

    hai…!!
    how to create a shortcut (on desk top)for ‘C’: for win7

    because always im typing “mount d c:\Turbo\” on DOSBox.

    so plz inform me how to run C ..easily in one click

  • hi….during RUN TIME i’m getting the LINKER ERROR : UNABLE TO OPEN FILE ‘TV.LIB’….PLEASE HELP ME RESOLVING THIS….THANKS IN ADVANCE

  • sarvesh

    works great thanks alot!!

  • Vinni

    thankzz a lot dude its very nice..

  • Rihards

    For those who have problem with screen freeze and/or after program run -> debug -> output and your cursor stop to react on your move..

    contact me: rihards.nimanis@gmail.com

  • saurabh

    hey it was gud..it helped me alot…….now at least i can practise it…..superb

  • satyam sharma

    its realy work
    but i have two problems
    1. its does not work in full screen
    2. is tere any short cut to run c++ rather to type these much words again and again?

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.