C4droid (C/C++ compiler)

Description

(To use app don't forget to read quick manual below!)
Description:
C4droid is a C/C++ compiler for Android.
C4droid already has almost full C language support, so you don't need to wait when it will be added.
You can to write your own applications on the 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. C4droid can be used for educational purposes or to practice in C language.
Some components of C4droid are LGPL-licensed. You can download used source code of TCC and uClibc on their websites (But TCC had been modified by me, so I recommend to email me to get modified source) C4droid includes Android Terminal Emulator so you can to run your application comfortably.
To get C++ support you need:
0) Install C4droid, launch it and wait for unpack.
1) Install GCC plugin for C4droid from Android Market.
2) Launch GCC plugin for C4droid and press "install to internal memory" (or to external if you have root rights)
3) Select G++ compiler in C4droid preferences.
4) Use "iostream", not "iostream.h"
5) Add "using namespace std;" to your program (before int main)
Also C4droid supports SDL/NativeActivity for GUI now, install SDL plugin for C4droid to use it (only GCC/G++ compiler is supported, so you need GCC plugin).
(SDL is detected with "#include ", NativeActivity is detected with "#include ")

Screen

Download 

password : www.androidappsmarkit.blogspot.com

1 comment:

  1. I'd like to suggest CppCode. It's the first and the only offline C/C++ IDE & Compiler on iOS!
    No jailbreak required, no internet connection required, no ads, free(mium) app.

    App feature list, screenshots and video on Vimeo/Youtube and even quick start at http://cppcode.info

    Video:
    https://www.youtube.com/watch?v=yKMQAE-DAJw

    AppStore:
    https://itunes.apple.com/app/cppcode-offline-c-c++-ide/id936694712

    ReplyDelete