C4droid - C/C++ compiler & IDE

by n0n3m4


Education

3.99 usd



The most powerful and user-friendly C/C++ compiler & IDE on Google Play

Read more

C4droid is the most powerful C/C++ IDE + C/C++ compiler for Android.Features:• Offline C/C++ compiler: create your own applications on Android device and run them even without Internet access• Qt, SDL, SDL2, Allegro, SFML, FLTK and NativeActivity support for graphics• Export & share your programs as APK or binaries• Debugger with breakpoints and watches• CMake and Makefile support: use the same build scripts as on your PC (BusyBox is included)• Source code editor with syntax highlighting, tabs, code completion, code formatting, file association and undo/redo• No root required (but C4droid can use it for your programs if you want)• Full ANSI C and ISO C99 support with TCC (Tiny C Compiler) + musl libc• Fully-functional C++ compiler, complete C++11 support with GCC• Git integration• Customizable GUI, choose where to place tabs and buttons by yourself, themes are also supported• Semi-automatic open-source library porting feature for enhanced programming & educationC4droid is designed to be user-friendy out-of-the-box, but nothing is perfect, so here are some answers for questions that can appear:How to use Makefiles, multifile projects, etc?Long-click compile button (or select "compilation settings" if buttons are hidden/moved) and configure current directory to use the mode you want.Note that C4droid will create .c4droid configuration file when you press Ok. Some modes (like makefile) require to enter result executable file name, dont forget to do that.After doing that all use compile and run buttons to build and run your app as regular.How to use graphics libraries in single-file mode?Just install SDL plugin and select G++ compiler in C4droid preferences.Note that C4droid chooses app mode using a very simple source code analysis:every graphics mode is detected with corresponding include string (e.g. SDL is detected with #include "SDL.h", check bundled examples for more info). Commenting out these lines will not have any effect.If you are compiling a single-file Qt app, you should also add #include "yoursourcefilenamewithcpp.moc" to the end of source code file also.How to install C++ support manually?C4droid will ask you to install C++ support at first startup and will configure itself in semi-automatic mode.If you want to do that manually, you need:0) Enough (100MB+) internal memory1) Install GCC plugin2) Select G++ compiler in C4droid preferencesNote that if you want to use C4droid as a C compiler, it is better to select GCC, not G++.How to build and install libraries?Almost the same way as regular Makefile building except for that most probably some patching may be required.Currently tested libraries are gmp, mpfr, mpc, libxml2, neon, sqlite, SDL_gfx (--disable-mmx required).Which gestures/keyboard shortcuts does C4droid support?Long-click gestures:New button: delete current file.Save button: save as.Open button: recent files.Run button: run with arguments.Compile button: configure current directory.Tab: close tab.Keyboard shortcuts:Ctrl-C, Ctrl-V, Ctrl-X for Copy, Paste and CutCtrl-S, Ctrl-O for Save/OpenCtrl-Z, Ctrl-Y for Undo/Redo.Ctrl-L for "go to Line"Ctrl-F for FindCtrl-A for select AllCtrl-B for Build/compileCtrl-R for RunCtrl-Space/Ctrl-D for autocompletion (Ctrl-Space may be reserved by Android)Report bugs at [email protected] stands for "c for android" (or "c++ for android").C4droid is not an online compiler, so it uses real binaries.Some binaries in APK are licensed under (L)GPL, email me for the source code (Tiny C compiler, GCC, BusyBox, etc.)Android is a trademark of Google Inc.Qt is a registered trademark of Digia.Fixed a lot of bugs.Updated GCC to 10.2.Qt doesnt require any 3rd-party apps anymore.Terminal can now be closed with Ctrl+X.SDL2 now supports immersive mode.

Read trusted reviews from application customers

Rating updated as developer responded to my frustrated issue with a rational response. And because it deserves the 5 stars

Mark Cooke

great app

Anthony Wang

5 years ago, I used a crack version of this app because I don't have a computer but I made a promise to purchase it one day. Even though I use a computer nowadays, this app has taught me so much back then. Thank you. I can't repay you much.

Abdullahi Usman

still works great after all these years!

AlAmin Abdullah

Really nice C++ compiler. It would be nice if the compiler error messages could be displayed within the ide, instead of a pop up window, and it would be awsome if you could make it Samsung Dex aware. Apart from those two things, its top notch.

john daldry

Good: Commendable work. The developers just didn't repackage a compiler, they hacked Android. It's possibly the best all-rounder C/C++ IDE out there. Compiled output can be an APK package or a single executable. Export a compiled binary straight and flick the integrated terminal on, then see the code in action. It's fairly priced, even cheaper than many books. Bad: Autocompletion could be more polished like clang. Missing libraries: Boost, OpenGL etc. Suggestion: Terminal button. Verdict: 7*

Pinaki Gupta

Fantastic editor, stays out of the way, makes writing code easy. However, recently the app has been unable to access /storage/emulated/0. Is there any way this can be fixed?

Walker Poyner

Great app, worth the price. But the text editor's response to touch is too slow.

Marcus Martir

Didn,t even open

Aron

best

Pratham Naik