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

  • vivek

    i m sooo thanxfull to you… i installed sucsesfully c++ on my windows 7……..

  • dinesh

    i seacrh this 64 bit for long time but now ly i got it. it really super thank to dosbox. me and other all r export more software in 64 bit formate we wish u to bring many more software in 64 bit ……………THANKS DOSBOX

  • Ekpes

    I did up to step 7, mine is showing me Error, Invalid drive or directory, pls what do I do?

  • adwait

    Please help me for running graphics program in this compiler…it’s giving an error :BGI graphics not initialized use ‘initgraph’,though i used this function..

  • era

    i have drive G and H instead of D and C
    it responds to 5 comand that is mount d c:\Turbo
    bt on 6 step i.e type d ,it shows illegal command.
    pls provide me a solution to come over it.pls reply soon

  • jai ahuja

    really it works thanks alot

  • arpit

    am having problem…unable to link from file .exe

  • Raseeth

    I installed Dos box and TC in my lap windows 7 64 bit OS with DosBox 0.74 version. but every time while clicking the DosBox need to enter all commands. so isthere any possible to go directly C++ windows directly by clicking DosBox.

    plz reply me……………..

  • DISHA NARULA

    hii i hv completed 5 steps but in 6th step it is showng illegal command..pls provide me a solution to overcome this…rply me as soon as possible..its quiet urgent…

  • PREM & PRAM

    CHECK THE SPELLING(CAPS) WHILE TYPING THE GIVEN PATH OR DIRECTIVE

  • pinky

    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?

  • Mohammad Iqbal Bhat

    Thank you dear,
    proved to be very helpful for me.
    Again thanks a lot…………………..

  • Amin

    Hi
    I am from Iran
    Thanks for this Topic
    see you
    by

  • Pingback: ⇒ C++ Programm gesucht

  • rahul kalonia

    i already had dosbox installed bt i was unable to figure it out how to start cpp 4m it,,, thaks to u guys,
    bt i want u to tell how to automatically mount in dosbox ver0.74.

    • Vikram

      Do the exact same steps. The only difference is the way you go to the config file. it’s done like this for DOSBox ver0.74 :

      Start -> All Programs -> DOSBox-0.74 -> Options -> DOSBox-0.74 Options

  • lekshmi sreenivasr

    Please help me for running graphics program in this compiler…it’s giving an error : graphics not initialized use ‘initgraph’,though i used this function..

  • kiran

    FOR ME ITS COMING AS INVALID ARGUMENT

  • Danial

    thnx 4 that it was really helpfull to me

  • RAMAN

    hii..i tried to install DOSBox0.74-win32-installer,but i am facing an error msg : “Installer intergity check has failed.Common causes include incomplete download and damaged media.Contact the installer’s author to obtain a new copy.”

    please help me to install turbo c/c++ in my system,my configuration is win 7 home basic(64 bit os).

    kindly mail me on ramanraisaini@gmail.com

  • hitesh

    Several Issues with mouse. Mouse stops working within 2-3 minutes of starting dosbox. I cant click on any button in Turbo c. This is only solved by restarting.

  • deepika

    this method really worked, with this help i am successfully able to install c++, and dat too which can run on full screen mode.thanks once again

  • anil

    AFTER SOMETIME THE CURSOR FREEZES AND IT IS TROUBLESOME………….PLZZZZZZZZZZ HELP

  • Sachin

    Amazing Job Done… Wish You All The Best… For Future

  • Sandeep ohdar

    very helpful ….. thank you

  • ABHISHEK MITRA

    Thanks a lot !!
    The procedure was completely Exhaustive & self-explanatory.
    Thanks to it I was able to install Turbo C++ successfully on my Windows 7 (64 Bit Machine)….
    Thanks again….. 🙂

  • Red Rose

    i m very very very very thank full to you. I’ve succesfully installed it

  • rajeev

    working successfully but each time create path ,how can avoid these problem ?

  • rajeev

    successfully completed that problem by using properties in dosbox icon

  • Vaibhav

    well finally installed c++ on win 7

  • haider

    thank you im happy to install the c++ language in win 7\64 by us

  • apes

    thanks a lot!!!
    after downloading several versions of tc…….finally this way worked.
    thanks a ton.

  • Rahul Singh

    Why do you guys need to you this ancient compiler???
    Turbo C++ is a 16-bit software & it can’t even compile source codes bigger than 64 KBs. Try making a big program sometime & you’ll “run out of memory”!

    Move on to bigger, better faster options like …
    • GNU GCC Compiler
    • MS VC++
    • Digital Mars
    • Cygwin GCC
    • Intel C\C++ Compiler
    These compilers produce much better & faster executing files.

    As far as IDEs go I prefer
    • Net Beans
    or
    • Code Blocks

  • Anand

    I Am So thanxfull to you… i installed sucsesfully c++ on my windows 7……..

  • Samar

    Thank you so much, i am an engineering student and badly needed to run Turbo C on my 64-bit Win 7. Thanks again for your help. Only problem is i need to link the libraries every time, i can live with that 🙂

  • Abdul

    thanx. your job is excellent.

  • Lokesh

    Thanks you very much! I have installed it and I am using it. You have solved a very great problem. Your Method is Excellent.

  • RodrigoJR

    thanks for the tutorial… I really need this.. I’m an IT student.. it works…

  • Krishnakant Kadam

    thanks …..this is helpfull for me run tc.exe on my win 7 64-bit once again thanks

  • rahul rajan

    thaaaaaaaaaaaaaankkuuuuuuuuuuuuuuuuuu…………soooooo much….for this guidens.

  • padcool

    TRY THIS…….
    RIGHT CLICK ON DOS BOX <PROPERTIES<SHORTCUT<OPEN FILE LOCATION<DOSBOX0.74 OPTIONS<GO TO BOTTOM OF THIS AND WRIGHT THIS

    mount d c:\(WRIGHT FOLDER NAME IN WHICH TC IS PRESENT)\
    d:
    cd tc
    cd bin
    tc.exe

  • Deepti S Joshi

    I am having 2 problems
    1. I have to change the path of the directories everytime.
    2. The program is getting compiled correctly, but when I run the program with the command ctrl+f9, it simply exits and gets back to windows

  • siva

    thank you soooooooo much for the detailed process……
    For this help I am searching from months, at last I got solution from you…..
    Once again thanks….

  • umar

    when i convert this program to full screen, it does not respond, any ideas what i should do. plz help…….

  • ataur rahman

    dear friends,

    thanx allot the information provided on your site is truly helpful for me and peoples like me. i highly appreciate your work.
    with regards

    ataur

  • Avikalp

    Please solve this problem. As stated by other users too, the mouse stops working after few minutes and is solved only by restarting. Please propose a solution

  • Sachin Mendhe from Wardha

    Thanks a lot man…its totally working in my windows 7 os
    ————— thanks —————-

  • ismail

    hi why is my pc reporting that unable to change to:tc

  • Faithlarge

    Pls someone help. I followed through all of the steps. A nd finally when i typed tc or tc.exe, it complained of an error but it still run the Turbo c. When i closed the Dlos Box program, i didnt know how to launch Turbo c anymore. When i launched Dos Box, it returned me b back to the very beginning. Does that mean that each time i want to use turbo c i have to go thru this process over and over again?

  • Pankaj nigam

    thanks for suggestion
    it really proved ie helpful for me.

  • saiteja

    hi
    i am using dosbox 0.74, is there any shortcut to open c editor directly

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.