Basic attributes:
- Offline H compiler: create your applications on Android device and manage them even without Access to the internet
- Source rule editor with syntax highlighting, tabs, rule completion, code format, file association and also infinite undo/redo
- Export&share your applications as APKs or native executables (for critical apps)
- No main required (but C4droid incorporate the use of it for your programs in case you want)
- Entire ANSI C and also ISO C99 support with TCC (Tiny H Compiler) + uClibc
- Customizable GUI, choose where you should place tabs and buttons on your own, themes are additionally supported.
More features using a free GCC plugin:
- Full C++ and also almost complete C++11 support with GCC + Bionic libc
- NativeActivity, Qt, SDL and also SDL2 support regarding GUI
- The most recent version of GCC constantly available
- Makefile support: use the similar build scripts as on your computer (BusyBox is included)
- Semi-automatic open-source library porting feature regarding enhanced programming & education and learning
C4droid is meant to be user-friendy out-of-the-box, but there is nothing perfect, so here are several answers for questions that may appear:
How to setup C++ support?
C4droid will request you to install C++ support at first startup and can configure itself within semi-automatic mode.
If you wish to do that physically, you need:
0) Adequate internal memory AS WELL AS root rights. C4droid isn't going to require root proper rights for devices with increased than 50MB connected with free internal memory space.
1) Install GCC plugin (C4droid will request you to install it).
2) Choose G++ compiler within C4droid preferences.
3*) Include "using namespace a sexually transmitted disease; " to the program(before int main), make use of iostream, not iostream. h
Note that if you would like use C4droid as being a C compiler, it is advisable to select GCC, certainly not G++.
How to make use of SDL, SDL2, NativeActivity and also Qt in single-file manner?
Just install SDL plugin and select G++ compiler within C4droid preferences.
Note that C4droid prefers app mode using an easy source code investigation:
SDL is detected with #include "SDL. h", SDL2 is detected with #include "SDL2/SDL. h", NativeActivity is detected with #include "android_native_app_glue. h", Qt is detected with #include "QApplication"
Should you be compiling a single-file Qt request, you must put #include "yoursourcefilenamewithcpp. moc" for the end of source code file additionally.
How to make use of Makefiles, multifile projects, etc?
Long-click compile press button (or select "compilation settings" in the event buttons are hidden/moved) and also configure current directory to make use of the mode you need.
Note that C4droid can create. c4droid configuration file once you will press Okay. Some modes (like makefile) demand to enter effect executable file name, don't forget to do this.
After doing that all use compile and also run buttons to build and run the app as standard.
How to assemble and install your local library?
Almost the unique way as regular Makefile building except that most possibly some patching could be required.
Currently analyzed libraries are gmp(internal memory space only), mpfr, mpc, libxml2, neon, sqlite, SDL_gfx(--disable-mmx required).
Which gestures/keyboard shortcuts can C4droid support?
Long-click motions:
Save button: save as.
Open press button: recent files.
Manage button: run having arguments.
Compile press button: configure current directory site.
Tab: close loss.
Download Link - Download C4droid - C/C++ compiler & IDE size 1.6MB
Password: www.invidel.com
or
Download from here | Mirror Link