GUIDE: How To Run C Programs On Android?

Computer Bits Daily
2 min readMay 23, 2022

Termux is an Android terminal emulator.

The answer to the question “How to create and run C++ program in an Android device?”, Is here.

To run C++ programs in android using Termux requires the installation of two termux packages.

- clang :

The clang tool is a front-end compiler that is used to compile programming languages such as C, C++, Objective C and Objective C++ into machine code.

- Nano :
Text Editor to create a file.

Table Of Contents

Before we learn How to run the C plus plus program on android, let’s take a look at Some Important Termux commands we must remember:

- To clear all screen content run the command.

$ clear

- To find the current working directory.

$ pwd

- To change our current working directory to another directory. Here I’m moving in /java directory/folder.

Learn step by step here :

Run C plus plus Program on android with termux — Computer Bits Daily

  • termux online compiler
  • termux c
  • run c on android
  • clang termux
  • can’t install clang in termux
  • how to run a program in termux
  • programming in termux
  • how to install gcc in termux

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Computer Bits Daily
Computer Bits Daily

Written by Computer Bits Daily

Learning Computer skills and Computer technology by learning and sharing

No responses yet

Write a response