Menu

How To Compile And Run C/C++ Programs On Android

Before The Official Launch of Android Phones In India,Somebody Said me that "Android Phones Are The Future of Mobile Phone Computing..They Will Take Mobile Computing To New Heights...".

Google play(Android market) 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.
                                   http://techwarlock.blogspot.in/2012/07/know-how-to-compile-and-run-cc-programs.html
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..
1). First Of All Go To Google Play And Search For A Application Named "C4droid".

2). Download That Application And Install It On Your Android Phone.

3). Open C4droid. Now A Text Editor Will Appear In Front Of You..Write your C or C++ Code There.

4). After That You Can Able To Compile Or Run Your Code in it.. :)

Done!!!

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).
                                  http://techwarlock.blogspot.in/2012/07/know-how-to-compile-and-run-cc-programs.html
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.

No comments:

Post a Comment