Slash Coding

  • Android Development
  • CSS
  • Subscribe
  • About Us
  • Contact Us
You are here: Home / C++ / How to Install Turbo C on Windows 7 and Windows 8

How to Install Turbo C on Windows 7 and Windows 8

By Aneesh Bhatnagar

Turbo C or Turbo C++ is a MS DOS based IDE for C and C++ languages. MS DOS might be outdated, but this IDE is still in use. Most 0f the schools and colleges in India still teach their students on Turbo C. It is considered to be an easy to use and understand IDE since it is based on Dos. And literally speaking, it is an easy thing to use and start learning programming. I was also taught my first programming language (C++) in Turbo C, and even today, 6years later, I still use Turbo C for writing my codes.

I have this habit of writing each and every code in C++ first and once that code runs successfully, then I convert it into other programming languages. Like for instance, I was building an Android Application, and for the formulas and the rules used in there, I wrote the entire code in C++ first and made sure nothing was wrong. Then, I typed it all in java for my Android Application. Well, that apart, let’s get back to the topic. I told you this short story just because I  wanted to tell you that I still use Turbo C, despite the fact that my Laptop runs on Windows 8. A lot of people ask me how to run Turbo C on their Laptops/ Desktops running Windows 7 or Windows 8 and I have been telling all of them how to do it. So now let’s get you aware with the method as well.

Windows 8 App Not Supported

Starting from Windows Vista, Microsoft stopped supporting the Command Prompt applications (Dos applications) to run in full screen mode. But in Windows 7 and Windows 8, they stopped letting you even run the application. To overcome this problem, a group of 4 developers got together and developed an emulator they named DOSBox. This emulator allows you to run all DOS applications on your newer version of Windows, even in full screen. So let’s get started setting it up on your laptop.

Installing DOSBox and Turbo C++

  1. Head over to the DOSBox Website and download DOSBox for your version of Windows.
    DOSBox Versions for Download
  2. After the download completes, run the setup and install DOSBox on your computer. Some Windows 8 installations might say that this application is not compatible with Windows 8, but click on Install anyways because it is completely compatible with Windows 8.
  3. Now, head over to the download page to get Turbo C++ by clicking here and download Turbo C++ to your computer.
  4. After the download completes, extract all the contents of the ZIP file into “C:\TC\“. It should look like this after extraction.
    Turbo C++ Extracted Files
  5. Now open up DOSBox from the shortcut on your desktop or from the Start Menu. You should be shown with the following screen.
    DOSBox Screenshot
  6. Type in the following lines one by one and hit Enter/Return after every line.
    mount c: c:\
    c:
    cd tc
    install
  7. Now you should be presented with the setup for Tubro C++. Press Enter to Continue and enter the Drive Source Letter as C and press enter. Leave the next setting as it is and press enter.
    Turbo C++ Install
  8. Scroll down to Start Installation using arrow keys and press enter.
    Turbo C++ Install 2
  9. Now just wait for the installation to finish. After the installation completes, you will be back on the main DOSBox screen. At this stage, close DOSBox by typing in “exit” or by clicking the cross (X) button on the top.

TIP : If you want to run DOSBox in Full Screen mode, just press “ALT+ ENTER (RETURN KEY)” at any point of time. You can press these keys to get out of the Full Screen Mode as well.

Starting Up Turbo C++

After you have installed Turbo C++ and DOSBox successfully, you need to start Turbo C++. I am going to tell you a shortcut to make DOSBox run Turbo C++ every time you start it. To do this, just follow these steps.

  1. In the start menu, find the folder that DOSBox just created. Then, click on DOSBox Options to open up a notepad file.
    DOSBox Options
  2. This notepad file defines all the configuration and settings for DOSBox. Scroll down to the very end until you reach to the last line.
    DOSBox Configuration
  3. After the last line, enter the following lines of code and save the Notepad file.
    mount c: c:\
    c:
    cd tc\bin
    tc
  4. After you save the notepad file, close it and run DOSBox as you had run the first time. This time when you run DOSBox, you should be shown with the following screen. This is your Turbo C++.
    DOSBox Edited Configurations
    Turbo C++ on Windows 8

I hope my article helped you install Turbo C++ on your computer. If this article helped you, consider sharing it with others, which might help them too. Stay subscribed to Slash Coding via RSS Feeds, Facebook Page or Twitter Account. Feel free to comment about any doubt down below!

Update: 14 December, 2013

As Yogendra Singh has pointed out that there is an already configured version of DosBox available at the Turbo C 8 website, it just does the entire process in one step. Head over to the official Turbo C 8 website to know more.

Did you enjoy this article?
Subscribe to our email alerts when we post something new so you don't miss out.

About Aneesh Bhatnagar

Aneesh Bhatnagar is a freelance web developer, who specializes in front-end website development with HTML5, CSS3 and jQuery. He believes in transforming the entire web into a Responsive Web. He also specializes in use of Bootstrap framework to get websites up and running.

Comments

  1. Yogendra Singh says

    December 14, 2013 at 12:15 pm

    Thanks for giving full procedure….for those who facing error during configure dosbox must try pre configured dos box for turbo c++ from http://www.turboc8.com for Free.

    • Aneesh Bhatnagar says

      December 14, 2013 at 3:51 pm

      Thank you for sharing this pre-configured version with everyone! 🙂

  2. Sadia Siddiqui says

    September 26, 2014 at 5:16 pm

    Thank you so much! Ive been trying for so long but it wasnt working for me. You’ve made it all so simple:)

  3. sampada loharkar says

    October 10, 2014 at 11:51 pm

    very usefull.. thanx a lot..

  4. shailesh sharma says

    October 17, 2014 at 8:45 pm

    Thanx bro. great: clearly written and accurate instructions. got through the process in 1st go.

  5. XYX says

    October 30, 2014 at 6:50 pm

    I AM NOT ABLE TO GET IN TO USERSCREEN

    • Aneesh Bhatnagar says

      November 3, 2014 at 9:58 pm

      I don’t get what you’re trying to say. Can you elaborate please?

      • sowmiya says

        November 6, 2014 at 9:13 pm

        I think he couldn’t able to view his output on user screen /output screen

  6. sowmiya says

    November 5, 2014 at 10:49 am

    Thanks for your procedures … its work for me . But I couldn’t run the c program if I run it its closed … wat should I do ?

    • Aneesh Bhatnagar says

      November 5, 2014 at 5:36 pm

      I think you are using the shortcut ctrl + F9 to run the programs.. This is the shortcut to close DosBox.. So I suggest you to use this shortcut instead alt+R and then choose run (press enter).

      I hope this fixes your problem! 🙂

  7. sowmiya says

    November 6, 2014 at 9:48 am

    Thanks for your immediate response.. yeah its fixed 🙂 now its run
    Thanks sir

    • Aneesh Bhatnagar says

      November 6, 2014 at 9:50 am

      I’m glad I could help you! 🙂

  8. Varun K says

    January 14, 2015 at 10:40 am

    when i start installation like the way u told in step 8, i get an error saying”too many subdirectories” and installation is aborted. What should i do?

    • Aneesh Bhatnagar says

      January 14, 2015 at 3:29 pm

      Hey Varun
      Where have you placed the TC files? You did that exactly like I’ve done it?

      • Varun K says

        January 18, 2015 at 5:54 pm

        yes same directory just in c disk. I have not placed tc folder in any other folder like program files folder,etc.!

        • Aneesh Bhatnagar says

          January 18, 2015 at 6:20 pm

          Well.. There shouldn’t be any problem then.. Try following that procedure again.
          Or you can download the integrated Turbo c with dosbox from the link in the post

  9. shruti says

    January 14, 2015 at 8:32 pm

    short and simple!
    Where is the “like” button here ??!
    Thank you.

    • Aneesh Bhatnagar says

      January 14, 2015 at 9:04 pm

      I’m glad this article helped you! 🙂

  10. abdul qadir says

    April 11, 2015 at 1:41 pm

    works just fine
    thanx alot 🙂

  11. ganesh singh bisht says

    April 29, 2015 at 3:32 pm

    thanks sir it’s soo goood.

  12. mamta rajput says

    July 27, 2015 at 2:29 pm

    i don’t understand what are u say to this web page ?
    so pls next time give a video for installing c++.

    • Aneesh Bhatnagar says

      July 29, 2015 at 10:36 am

      Hey Mamta

      I don’t have a video tutorial, unfortunately. Can you let me know where you got stuck? Maybe I can help you out!

      • Prashant says

        November 11, 2016 at 9:13 pm

        i can’t change the directory to tc\bin

  13. Ankith B says

    August 1, 2015 at 5:28 pm

    sir,after extracting the winzip contents,it will not be in the form as you shown.can u pls tell me where i went wrong

  14. Ankith B says

    August 1, 2015 at 5:41 pm

    after the mount process when i type cd tc,it says “unable to change to :tc.”

    • Aneesh Bhatnagar says

      August 3, 2015 at 12:49 pm

      Hey Ankith
      Have you placed the contents of the unzipped files like I’ve shown in the tutorial?

  15. ksairam says

    August 28, 2015 at 7:56 pm

    I want to install turbo c in windows 8,phone plz tell me d way to instal

    • Aneesh Bhatnagar says

      August 28, 2015 at 8:01 pm

      Hey Ksairam,

      I’m sorry but I don’t know a way to install it on Windows Phone. I won’t be able to help you in this regard.

  16. aastha says

    July 16, 2016 at 9:26 pm

    Hey thank you for this turoria.. i could install turbo c. Only now when i run my program, i cannot view my output window. There are no errors and i pressed ctrl+r then enter to run it. Please can you fix?

  17. gyan says

    July 28, 2016 at 6:03 pm

    help me its saying too many subdirectories

  18. Nandana says

    August 4, 2016 at 11:06 am

    wow so nice . it is very easy to install and nice detailed explantion .

  19. Naga Srinivas says

    August 31, 2016 at 4:42 pm

    Every thing has gone correctly as u said up to installation and it is installed too, but when i am trying to open it i could find the editor for C program.Every i opened it , it asks me to mount files every time..can u please help me….!

  20. suraj says

    September 26, 2016 at 10:20 pm

    sir i m not getting window after step 6

  21. suman sharma says

    April 8, 2017 at 7:30 pm

    sir, i have installed the dosbox but when i typed mount c: c\ and press enter then it leaves an error that mounting is not recommended.please enter a (sub) directory next time.can you please help me sir…..

    • Aneesh Bhatnagar says

      June 27, 2017 at 8:55 am

      Hey,

      You can type mount c:\tc and then omit the step that needs you to change the directory to tc by using the “cd tc” command.

Search Slash Coding

Follow Us

RSS Feeds Facebook Twitter Follow Google+

Categories

  • Android Development
  • C++
  • Developer Tips
  • Slash Coding
  • Web Development
    • CSS
    • JavaScript
    • jQuery
    • PHP

Recently Published

  • Moving Ahead from Front End and Android Development
  • How to Export a Project from Android Studio
  • What is jQuery? Let’s Answer this Common Question today!
  • Mobile App Prototyping : Pixate Studio
  • How to Create a Countdown Timer using jQuery

Subscribe to Email Alerts

Eager to learn more from Slash Coding?
Sign up for daily email updates when anything new comes up. Get it straight in your inbox.

Follow Us on Social Media

RSS Feeds Facebook Twitter Follow Google+

Copyright © 2025 · Slash Coding · Powered by the Genesis Framework
Sitemap | Privacy Policy | About | Contact

×
Get Notified of the new Tutorials when they are posted!
Never miss any article update from Slash Coding. Subscribe to email alerts today!