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

  • Akshay Kamboj

    hey thnx bro…..it really works!! 🙂

  • HASHIR

    Its 100% working. Thanks for the information

  • jiviksha saraiya

    hey thanxx a lot for helping it worked….:) 🙂

  • Naveen Kumar

    u rock bro….. thnx 4 ur help !!

  • pankaj shah

    I just intalled DOSBox 0.74 with the intention of installing older DOS games. When I start it up and get to the DOS Prompt, the keyboard doesn’t work properly. The right Shift key does nothing. Even in the keymapper (ctrl-F1 from inside DOSBox), if I click the area for the right SHIFT key, click [Del], then click [Add], when I press the right-Shift key nothing happens. It doesn’t even recognize a key is down.

    Other keys are also not working correctly, the \ key gives me ] instead, the ] gives me [, and the [ key doesn’t work at all, nor does the +/= key or the `/~ key or the ‘/” key.

    I am running Vista Ultimate 32-bit, and before anyone jumps in to blame or flame Vista, you’re probably right. But that doesn’t help me solve my problem.

    I’ve ready other posts here from people having the same problem. Has any solution or workaround been discovered? I’ve tried running USESCANCODES FALSE from the DOS Prompt inside of DOSBox and that didn’t make any difference. I also set keyboardlayout=en-us in the dosbox.conf file, also to no avail.

    I tried installing FreeDOS in a VMWare virtual machine, but the audio in a game I installed was stuttery and I’m hoping it will work correctly in DOS Box. But I need the keyboard to work correctly first.

  • vikas

    awesome superb work guys

  • SYED SHABIR MUSTAFA

    thanks for this software …….
    it realy works on 64 bit without changing operting system …….

  • Sumitha

    whatever i type is not being displayed, it is displayed as numerals…similarly when i press alt+enter, the cursor gets strucked..pleas help me..

  • Anne

    My c++ window display an error saying, “Unable to open include file” whenever I run a program. I have allocated the right directories, but it still is a problem. Please help me with it. It’s bugging me for a long time now!

    • manjeet

      use virtual drive name in directories(options menu).
      for example,if ‘d’ is used as virtual drive in mount lines (mount d c:\turbo\)then
      write d:\tc\include instead of c:\tc\include and
      d:\tc\lib instead of c:\tc\lib

  • John

    Thanks Alot! Working 10000% You’ve helped alot of people through this! Bless You…

  • M.Srinivas Gupta

    Thanks Brother…

    You saved my time.

  • Prashin

    Hey friends now we dont need dos box
    We now have emulated turbo c which has fullscreen support and graphics for windows 7
    watch below video:
    http://www.youtube.com/watch?v=ushY2MTbwdI

  • sneha

    thanks a lot…. 🙂

  • sarathantony

    i’ve spend a lot of my time on this topic”run tc++ as fullscreen on my win7 x64 os without any error. most of the time i did it, i got an error message or compile error.ie, we won’t get the desired or correct result.

    there are somethings you should care about before running tc on x64bit machines. actually tc is an 8bit program. it’s very hard to run it in 64bit machines.
    so, we use programs like dosbox.

    follow the steps below,

    1, download dosbox.{it is a freeware program which you can download from the internet.just search the web.}

    2, install it,{NEVER INSTALL IT IN DIRECTLY UNDER C OR IT’S SUB DIRECTORIES. BUT IN SOME SUBFOLDERS. LIKE C:\program files(x86)\old games\dosbox etc…)

    3,download turboc++ .zip

    4,extract the zip files to c:\turbo\tc\bin{create the folder before you extract the files.it’ll be helpful)

    5,run dosbox.

    6,install tc inside a virtual drive.(this is the most important part)
    follow the steps below.
    run dosbox
    (you can find a default drive as z}
    TYPE
    mount f c:\turbo (if you have drives upto g type h. just like that.)
    f:
    cd tc
    cd bin
    install

    then the turbo c will get installed and what i offers is program freely without any errors.

    send your feedback to me on sarathantony@hotmail.com
    your response will appreciated.

    • hi…i hv done all wat u said its been installed successfully but when i compile program itshows error..headerfiles not found..?? can u help me to fix this prob??

  • Biswajit Das

    its Really works.. rock you guy’s…

  • mukesh

    thanx bro for help its really work.without this i cant be able to perform my program at home so thaannnnnnnnnnnnxxxxxxx

  • jaytiger

    THEre is an error!!! i cant draw a graphics or shapes in this program!!! please help

  • Pooja

    Thank you very much. It works. But the thing is when I maximise it it stops responding. Has to work all the time in small window. Any solution?

  • RAKHIL

    i have installed c turbo with dos box .74
    want a short for c application (using windows 7)

    • RZV

      Great tutorial , Thank you

    • akshay

      you just go to c: folder then goto program files(x86) then goto docbox 0.74 folder
      there you will find docbox 0.74 options.bat file. open that file and goto the end of the file and write the same and save it. then execute docbox shortcut from desktop.:)

      mount d c:\turbo\
      d:
      cd tc
      cd bin
      tc

  • parikshit

    thanks….. it worked really

  • Anonymus

    Thanks a lot…..Come 2 my house will host a party!!!

  • Gurpreet Singh

    Thanx bro..it really works for win 7..for users try automatic installation of dosbox

  • roshan

    thanks. it worked…..

  • koyel

    does dosbox supports floating point numbers??because i tried a simple program,and the answer doesnot come in fractions.

  • Harmeen

    very much appreciated THx A lot

    thxxxxxxxxxxxxxx

  • alok sharma

    awesssmeeee trickk man it works at last i got smething

  • naresh

    it 100% working thank uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu

  • harjot

    it really works……..but i can’t close dosbox after doing c work. i have to start task manager then i can close dosbox.

  • Jaskirat

    Worked Perfectly on Win 7 64 bit!!
    Thanks.

  • Mehran

    Whenever I want to run the program, TC suddenly closes.
    How can I fix this??

  • Bhaskar

    Its really working Boss… Thank you..

  • Amritha

    hi can any 1 help me?Wen i run ma pgm i get an error of stdio.h not found etc.actually i included the header file in my pgm.wat should i do.rply fast.its urgent

  • Rahul

    I did it bt when i write d:\tc\bin>tc……there is an error “Disk full!not enough swap space”..please help me

  • Deepak

    So much thanks to you. Its working.

  • harsh

    thank u so very very[10 times] much……works perfectly….

  • Jay

    hey i got red screen instead of blue now how to turn red screen to blue plz som one help me out…

  • Rahul Arora

    i hv checked it its working great but the prbm is its not working well means its cursor disappear after some time n commends of menu tab dnt respond i hv to restart the dosbox n it come again

  • Anmol

    there is a problem m getting, the screen freezes when i go to full screen mode in c turbo, well it works fine when not in full screen

  • sathish

    hey Thanxxx:)….it really works…but can anyone help me with a compiler 4 c-programming(64-bit windows7)….

  • aj

    Whenever I compile any program, even a simple print statement, DOSbox crashes
    Any solution to it?

  • Remi

    THANK YOU VERY MUCH! IT REALLY WORKS! 😀
    all you need to do is read the steps carefully, you’ll be able to successfully run the program.
    for C/C++ users, common errors are that you don’t check the directories before running the program, that is why you get error messages, like include..blahblahblah, another is that you use Ctrl+F9 shortcut, it closes the DOSbox program rather than running the program in C.

  • Jagan

    Thank you very much to this website and its creator

  • rabindra majhi

    thks…it really worked….

  • Divyesh

    Hey, Up to 6th step it works properly. But, In 7th step when i type that code it appers like this:-

    D:\>cd tc

    D:\tc>cd bin

    D:\tc\bin>cd tc
    Unable to change to: tc

    I have also try for tc.exe

    Plz, Reply fast. How to clear this error????

  • karan

    Thanx for d Info! It really Works! 🙂

  • harminder kaur

    thanx buddy .. it worked except i cudnt find config. files .. well it wotkd dats gr8 for me thanx alot

  • abhi

    thnx……..it really work….

  • GAURAV

    thanx….it really worked

  • neyo

    i have changed the directories to the virtual directory but it still could not find the library files.

Leave a Reply to anil kumawat Cancel 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.