How to Easily Install & Use Turbo C / C++ on Android for Programming (Phones & Tablets Supported)

Turbo C or C++ is the oldest & the first IDE or C, C++ compiler used by a student while learning or trying to learn C Programming. Though, Turbo C++ is quite old and not much used now, it still is a big part when it comes to learning programming. Here’s a simple tutorial which will show you How to easily install & use Turbo C  / C++ on your Android phone or tablet so you can code & execute programs on the run.

Tutorial to install & use Turbo C / C++ on Android KitKat , lollipop, Marshmallow & Nougat (4.4 , 5.1 ,6.0 , 7.0)

Pre-requisites –

Tutorial – 

 

Step . 1 – Configuring Dos Box & Turbo C (Only a one-time setup process) – 

  • First of all download & extract the turbo c binary zip files into a folder on your device as shown in the image below –
    Extract Turbo C zip into a folder on your phone
    Extract Turbo C zip into a folder on your phone

     

  • Now, once you have downloaded & installed Magic Doxbox free app , launch the app  it will show a welcome screen , click on ‘x’ to close the message screen.
  • In the next black screen – click on the “+” icon to add new game, then select the “New game” option as shown in the image below –
    Magic DosBox add New Game
    Magic DosBox add New Game

     

  • The Configuration screen will now ask for the title, and the path of the game (which is Turbo C in our case). Here, we need to specify the path where we have kept our binaries. On this screen Click on “choose” as shown on the following photo –
    Select Choose Option on the Configuration screen
    Select Choose Option on the Configuration screen

    Now, navigate using the folder view until the choose folder option shows the folder “TC” in the location where you extracted the Turbo C.zip files.

  • Once you see the folder “TC” as shown in the below image , simply tap on “Checkmark” or “✓” sign. Do not click or open the TC folder , as shown below –
  • The Turbo C icon will now be shown in the black screen as shown below – That’s it you have now completed the one-time set up process .
    One-time turbo c set up process completed
    One-time turbo c set up process completed

     

Step.2 – Running Turbo C & launching directly for subsequent uses –

  • Now, for running Turbo C for subsequent uses , simply click on the Turbo C icon inside Magic Doxbox app. Here, you will see the dosbox black screen as shown in the image below .
  • Here, we need to type the Turbo c binary path to execute turbo c, incase if your keyboard doesn’t appear – Please press the back key of your Phone! & select the keyboard as shown in the image below –
    Select Keyboard after back-button if keyboard doesn't appear automatically
    Select Keyboard after back-button if keyboard doesn’t appear automatically

     

  • Now, on the black screen we need to type in the Turbo C path to execute it , to execute Turbo C file please enter the following commands one by one on the black screen –
    1. Type in “cd tc”  (hit the enter or return / new line key on keyboard)
    2. Now type in “cd bin” (hit the enter or return / new line key on keyboard)
    3. type “tc” (hit the enter or return / new line key on keyboard)
    4. It will look like below –
      Commands to open Turbo C on dosbox black screen
      Commands to open Turbo C on dosbox black screen

       

  • That’s it!! your Turbo C will now be launched & opened! 🙂 .. You can now access all functions of keyboard , mouse & start programming of C or c plus plus right on your android device as shown below –
    Turbo C on Android with Mouse & Keyboard
    Turbo C on Android with Mouse & Keyboard

    It feels really awesome & geeky to do program on your android, and is pretty smooth too! , especially the mouse pointer area and mouse movement as shown in the image above Also the best part is that this works totally without SD card or memory card, so will work on all android phones!

  • Rest all functions of Turbo c including graphics too work really smoothly! . Incase if you face any issues or encounter any errors feel free to contact us! Happy Programming!

Comments

  1. says

    Latest Android Tips & Tricks | Android Problems Solution.
    All the Android Tips & Tricks and Android Problem’s Solution User Get Here. And Here We provide many Different Apps & Games Categories Available here. And All the Latest Android News We provide our User. And user can contact us if him have any problem in his Android Phone.

Leave a Reply