Featured Post

How to capture long screenshot of apps and website on Android?

Image
Usually, you can take screenshot of only visible area on your display. But what if you could capture screenshot of the app by scrolling up and it will automatically keep capturing the long screenshot until you scroll up. Well, it's easy. In some devices, there is built-in feature called Super Screenshot or Long Screenshot which can capture long screenshot by scrolling up. If your device don't have these features, don't worry, I am going to share best trick to take long screenshot on any Android device. In this tutorial, I am going to share a useful Android app which can be used to take long screenshot of any apps or stitch multiple screenshots into one. The name of the app is LongShot for long screenshot . This is my favorite app to take long screenshot on Android phone. For taking long screenshot, the view must be scrollable. Example, you can take long screenshots on Facebook, Messages, Twitter and any apps which can be scrolled vertically. You can also take the s...

How to run C and C++ programs offline on your Android?

Run C and CPP Programs on Android

C is a general purpose, low level programming language. It is used to develop almost everything like operating systems(including Windows), python interpreter, git, oracle, and many more. C language is closely related to the way how machine works. C++ is also a general-purpose, object oriented programming language. C++ is based on C language. C++ can be used for creating any kinds of computer programs like music players, text editors and even video games.

In this tutorial, you will learn how you can run C/ C++ programs on your Android Device using some of the free, best and powerful C/ C++ compilers. These compilers can compile any C and C++ code on your Android in completely offline environment.


1. Mobile C

Mobile C is a powerful, free and offline compiler for C and C++ programs. By using Mobile C IDE, you can easily write and compile your C and C++ programs on your Android phone. This IDE works completely offline. You don't need internet connection to write and run your programs.

This app has good features that a programmer need while coding like auto complete C and C++ Programs, Syntax highlighting, offline compile and run your programs, customize editor font, dark and light editor themes, built-in file manager and beautiful in-app keyboard.

Download and Install Mobile C

Click here to download and install Mobile C from Play Store.

Writing and Compiling C Programs in Mobile C

Mobile C is a good Android app and IDE to Write, Compile and Run your C Programs Offline in your Android Phone.
To write and compile C Programs in Mobile C, follow these steps.

  1. Go to the folder where you want to store your C Program.
  2. Click on + File icon.
  3. Choose a filename for your program and choose extension as .c and press enter.
  4. You will see a program file in the list that you have just created, open it and start writing your C program.
    C Program in Mobile C
  5. After writing your program, press the ▶ button on the keyboard or Run button to run your program. If your program is correct, you will see it's output.
    Output of C Program in Mobile C

You can easily run C programs in your Android using Mobile C. Download Mobile C and start Compiling C Programs on your Android.

Writing and Compiling C++ Programs in Mobile C

Mobile C is a good Android app and IDE to Write, Compile and Run your C++ Programs Offline in your Android Phone.
To write and compile C++ Programs in Mobile C, follow these steps.

  1. Go to the folder where you want to store your C++ Program.
  2. Click on + File icon.
  3. Choose a filename for your program and choose extension as .cpp and press enter.
  4. You will see a program file in the list that you have just created, open it and start writing your C++ program.
    CPP Program in Mobile C
  5. After writing your program, press the ▶ button on the keyboard or Run button to run your program. If your program is correct, you will see it's output.
    Output of CPP Program in Mobile C

You can easily run C++ programs in your Android using Mobile C. Download Mobile C and start Compiling C++ Programs on your Android.


2. Cxxdroid

Cxxdroid is a powerful, free and offline C and C++ IDE and Compiler for Android. You can use Cxxdroid to write and compile your C and C++ programs on your Android. This IDE works completely offline, so if you want to code C/ C++ in completely offline environment, Cxxdroid can help you.

This is an awesome IDE for C and C++ programs with a lot of features like editor themes, editor customization, format/ beautify source code, multiple tabs to work on multiple program files at the same time, interpretor, terminal emulator, one click share your code to pastebin, code samples, installable libraries and many more.

Download and Install Cxxdroid

Click here to download and install Cxxdroid from Play Store.

Writing and Compiling C Programs in Cxxdroid

Cxxdroid offers user-friendly environment where users can write and compile C programs easily. You can save your program or open a saved file from storage.

To run your code, first of all, you need to write your program in the Editor. You can save your code as file.c so that you can open it later.
C Program in Cxxdroid

After Writing your code, press the Execute ▶ button to compile and run your code. If your code has errors, it will show where your program has error, and you can fix it. Else, it will show the output of your code.
Cxxdroid C Program Output in Cxxdroid

You can easily run C programs in your Android using Cxxdroid. Download Cxxdroid and start Compiling C Programs on your Android.

Writing and Compiling C++ Programs in Cxxdroid

Cxxdroid offers user-friendly environment where users can write and compile C++ programs easily. You can save your program or open saved file from your storage.

To run your code, first of all, you need to write your program in the Editor. You can save your programs as file.cpp or file.cxx so that open and access it later.
C++ Code in Cxxdroid

After Writing your code, press the Execute ▶ button to compile and run your code. If your code has errors, it will show where your program has error, and you can fix it. Else, it will show the output of your code.
CPP Output in Cxxdroid

You can easily run C programs in your Android using Cxxdroid. Download Cxxdroid and start Compiling C++ Programs on your Android.


Conclusion

This is the list of best, free, powerful and offline C and C++ IDE and Compilers for Android devices. If you are searching for good C/ C++ compiler for Android, download any one of these IDEs and start coding C/ C++ on your Android.

Comments

Popular posts from this blog

How to capture long screenshot of apps and website on Android?

How to capture long screenshot of apps and website on Android?

How to run VB.NET programs offline on your Android?