Compiling and executing a C program in a mobile was a dream a few years back. With the introduction of online C compilers (such as compileonline, tutorialspoint etc) users could execute a medium complex level programs online using computers but not using mobiles. Presently the Android users have provision to run and execute C and C++ Programs easily by installing the applications presented in this article. The Applications presented here are not naive. Hey adhere to latest standard and are fast in executing the program. The article introduces mainly three apps namely, CppDroid, C4Droid and GCC Plugin for C4Droid.
CppDroid –C/C++ IDE
The CppDroid –C/C++IDE is an Android application available for Android users from Google Play. The application has following features: CppDroid is simple C/C++ IDE focused on learning programming languages and libraries. The application completes the code by itself (ex.: Closing of the while loop or for loop happens automatically). The CppDroid application supports real time diagnostics (Errors in programs, custom warnings etc and also suggests on the possible fixes, the application also supports smart syntax highlighting which helps the programmer during debugging or during code verification. Most expected thing is to compile the C or C++ source file which is possible. The CppDroid supports add-ons manager and auto updates. Cherry on the cake here is that, the detailed tutorials and code examples on C and C++ are included in the application itself which gives an initial boost for anybody who would like to explore the features of the app without the need to type or load a program by themselves. Dropbox sharing and loading of files is supported by the CppDroid application.
C4Droid –C/C++ compiler & IDE
This particular application has got less users and the number of installations are increasing slowly. But, the application is already start with the rating of 4.7 out of 5. As a expected feature, the compiling option is available and compiles the C or C++ source code offline (Internet connection is not required). The editor has the most useful features such as auto indentation, code completion, tabs highlighting and syntax highlighting. Every programmer knows how much important is to have a C program and the compiler to be ISO C99 complaint. Yes, the C4Droid application is C99 standard complaint and provides this particular service via Tiny C compiler. The programmer can also insert break points and watch points during debugging. There are various gestures and keyboard shortcuts available which come in handy and save time. Latest revision is 4.9 and is available for download from Google Play for almost all the Android phones.
GCC plugin for C4droid C++ IDE
The application is not a standalone application! It supports the C4Droid by bringing in full functionality of a C++ compiler using GNU GCC. This application goes hand in hand with C4Droid to build a stable environment setup for the programmer to compile and execute C and C++ programs successfully.