HOW TO COMPILE AND RUN C/C++ ON ANDROID PHONE
Somebody told me that “Android Phones Are The Future of Mobile Phone Computing..They Will Take Mobile Computing To New Heights…”.today Completely agree with him because the efficiency of android phone is unbelievable.
Google play also plays a important role to provide them the capability to act like Super Computer.
if you are using android smart phone then you Probably know that what Crucial tasks a simple android phone can perform And Everything is just because of Google Play. 🙂
Now a days Developer are busy in developing system applications for android to provide it functionality like a Computer.One Of the Handy Android System Application Is C4droid.
First Of All What Is C4droid..?
C4droid is a C/C++ compiler for Android.
C4droid already has almost full C language support.
Now You write your own applications on Android phone, and run them. This app uses TCC and uClibc, so it has full support of ANSI C and some support of ISO C99.
So lets Start..
STEP 1: First Of All Go To Google Play And Search For A Application Named “C4droid”.
STEP 2:Download That Application And Install It On Your Android Phone.
STEP 3:Open C4droid. Now A Text Editor Will Appear In Front Of You..Write your C or C++ Code There.
STEP 4:After That You Can Able To Compile Or Run Your Code in it.. 🙂
C4droid Have also Many More Features Like Syntax highlighting,Compiler Selection
You Can Also Able To Supply Arguments For Your Program By just Leaving A blank Space Between Two Arguments.If you Don’t Like C4droid then SouceLair Is another alternative to this.
You Can Download Source Lair By Searching “SourceLair” On Google Play(Android Market).
Source Lair Can Compile and run your C, C++, Objective-C, Fortran and Pascal programs right on your phone with their Cloud Based Compiler.
If You are going to Use Source Lair To Compile And Run Your Programs,Then Remember it Needs A Internet Facility On Your Phone To Interact With Their Cloud Based Compiler Server.