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

  • Amol

    Thank you for ur advice….

  • ashik03

    It helped a lot..
    tons of thanks …
    keep up the great work…

  • Dheeraj

    well what u have uploaded is correct
    have ever tried out this method
    i tried and got errors due to dos box each syntax is taken in uppercase even though u write in lower
    pls check this out

  • Espedito

    Thanks man! You save me!
    Brazil

  • Andrea

    Hi, I am a new Windows 7 64 bit user.
    I successfully installed Turbo C but I don’t know what’s wrong!!!, I can’t compile anything, the compiler doesn’t include the iostream file.

    some ideas?

  • amrit

    when i am compiling the program .it give error that conio.h and stdio.h is not included..

    so how should i remove this error….???

    • admin

      Andrea, amrit: Did you follow instructions? You must change Turbo C++ options:

      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 )

  • ajith

    I also got the above error mentioned by Amrit.
    I changed the directory settings in the C++ . Then also getting the same error!
    Please help ..

  • nishant

    whenever i run a program the dos window closes.what is d solution?

  • poojitha

    even i got the same error “unable to open include file STDIO.H”.. even after changing the settings in directories

  • poojitha

    please kindly help me… i have a deadline ahead…

  • poojitha

    hey i got it .. i just simply followed the instructions … it worked ..:)

  • sidhu

    when i installby pressing f9 ..it shows an error msg”invalid directory name or format”
    plz help…..

  • Amit Dhiman

    Hey

    I’m also encountering the same error of not being able to include header files. I’ve also changed the directories in options->directories…

    Please Help

  • ajith

    Hi ,

    Those who are getting the error : Unable to find header files(.h),
    I solved the problem, Try to install the Dosbox and Turbo C software from the links mentioned in this site and follow the instructions exactly as mentioned in this site.

    At the begning when you are running the turbo C , I got the error that invalid directory.Then Change Options –> Environment –> Directories –> Give your virtual directory name.

    Thank you ..

  • ramesh

    thank u very much us help….
    it mean a lottttt

  • aishwarya

    once i run c++ and compile the prog i get an error which tells header file cant be included!!!!

    • guri

      miss ash…
      while running c++…goto options>directories…
      then in window opened will show path of lib & include….
      they are by default opened in ‘c’
      so change it to ‘d’
      i.e…in 1st one D:\TC\include & in 2nd line D:\TC\lib…

  • kopiraj

    thank u very much………………..

  • Sanket

    Thanks for your great help….
    Now I can easily use c++ on Windows 7 x64..
    Once again I thanks for advice….

  • akshay

    plz help…after i type cd bin it says “unable to change to bin”…plzzz help me

  • Ajay

    hey thanx for ur help!!!
    that really helped ….i want to ask u one more thing whether we can run TASM s/w in similar manner

  • Thanks for your help. i was caught by the problem but i am happy that i can use my tc++ compiler in win7

  • deepak

    thanx for your help.

  • hi!!!!!!!! i like your trick……bt it cant be use as a fullscreen mode……..

  • guri

    hey administrator…..
    thanks for dis alot….
    {but here is a piece of advice…make baby steps for galss..:)…as u have described it clearly about some changes in dir & about fullscreen…they r still having problem in dat…lols)

  • MONALISA

    heyy please can anyone please helppp….when i am pressing f9 to install turboc++ i am getting the message ” please insert disc #1 into drive D:”
    can anyone tell what that means and how can i install it????

  • PRATHAM

    thanks man it helped .But i have a graphic error it says device driver egavga.bgi
    not found

    • manas

      there is BGI folder inside the TC folder.inside BGI EGAVGA.BGI file is there ,copy this file and paste it inside the BIN folder.if not working then reinstal the tc.if linker probs is there then check in tc editor go to option-linker-libraries then select graphis libraries. then it will run.

  • hims

    thanks a lot……it works …but do we have to type the commands each and everytime we have to use it?

  • mahesh

    The following commands cd tc, cd bin and tc are unable to change from d:\> turbo compiler.so what i do

  • Subhayu

    Thanks….
    lot of thanks….
    it worked …..great…
    thanks for ur help………….

  • hims

    yeah ,it worked admin……..
    thanks……
    but after sometime…the mouse or cursor stops working…we have you edit and access the tool bar using keyboard only…
    whats should i do to fix this?

  • Kumari

    Yeah when typing as “cd tc” error message coming saying “cannot change to :tc”

    Please help as i badly require C ahead of Exams.

  • umesh

    thanks….. :)…
    it worked….
    thanks a lot….

  • Rajshekar

    Thanks boss u were of great help to me thanks a lot. I ve just installed it, i havent run any programs right now, i ll let u know if any problem occurs n please help me tat time i ve given my email id please send me your answers to tat once again THANKS A LOT:)

  • Rajshekar

    Boss i have got another problem after i press alt+enter the window goes to full screen but it changes its colour scheme, it turns to red its not that bad but while executing programs erros a encountered and they are highlighted in blue background perfectly not in this. Is there any solution for this? please let me know. i have given my id

  • sravan

    Really good u saved my day

  • rakesh

    when i am compiling the program .it give error that conio.h and stdio.h is not included..

    so how should i remove this error….???

  • rdpoduval

    hiii thanks alot…it worked… i have been searching alot to get c compiler to work on windows 7…i need 1 more help…how i can i change the screen color from red to blue when it is in full screen…

  • neha

    hi admin….thanx for ur post…but i m not able to include graphis.h in my program as i have to deal with bgi file ..and simultaneously whole screen turns into red…i knw u’ld b busy in dealing wid lots of problem of the users of ur site…but if u’ve time then help me in fixing these problems….:)

    • Ambuj Sharma

      Plz tell me , if ur able to solve the problem of including .

    • Ambuj Sharma

      HI IF U HAVING PROBLEM WITH FULL SCREEN, GOTO Start Menu and click on “Configuration” and then “Edit Configuration“. Their u find OUTPUT=surface, change the OUTPUT=overlay or OUTPUT=ddraw, Please help me if you could solve the problem of linking graphics package. Linking error occuring during run time.

      UN:F [1.8.7_1070]

  • rakesh

    i have some problem with full screen

  • balamurugan

    hi, i have installed the turbo c++ with the help of dosbox, the basic c operations are working properly but the graphics functions are not working?
    help me!!!

  • prashant

    its really helpful !!!!!!!!!!!!

  • Newbie

    Hey,

    I have encountered a problem. I forgot to change the path . I tried to follow the same steps for the second time. Says illegal command. Unable to change to tc. Let me know.
    Thanks a ton in advance

  • Ambuj Sharma

    GUYS HAVING PROBLEM WITH FULL SCREEN, GOTO Start Menu and click on “Configuration” and then “Edit Configuration“. Their u find OUTPUT=surface, change the OUTPUT=overlay or OUTPUT=ddraw, Friends, package is not working plz help me. linking error.

  • Ambuj Sharma

    graphics.h package is not working plz help me, linking error occuring.

  • Boobalan

    Hey man thank you. May u help us is future. Thanks a lot dude.

  • Arun (Java_Freak)

    Hey, Guys this is really so cool.
    Thanks,
    Buddy:)

  • sudhar

    thanks a lot its 100% working

  • vishal

    thanks a lot its 100% working

  • Elfares

    hi for all thankes for your information but i have a problem when i type commend cd tc he give me a message that unable to change to :tc please tell me what i have to do.

  • Tarnasa

    Why can’t i type “\” or “:”?

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.