Used C4droid - C/C++ compiler & IDE for Android?


C4droid - C/C++ compiler & IDE Analysis

AI Assisted Content ·

Not written by CNET Staff.

C4droid is an educational software designed for Android devices that provides users with a robust C/C++ compiler and integrated development environment (IDE). This application enables users to write, compile, and execute C and C++ programs directly from their mobile devices, making coding accessible on the go. Key features include syntax highlighting, code completion, and support for various libraries, enhancing the programming experience for both beginners and experienced developers.

Top Recommended Alternative

The application is compatible with Android versions 9.0 and above, ensuring a wide range of device usability. With version 6.97 being the latest, C4droid operates solely in English, catering primarily to English-speaking users. This tool is particularly useful for students and professionals looking to practice their coding skills or develop applications without the need for a traditional desktop or laptop setup.

Enlarged image for C4droid - C/C++ compiler …
C4droid - C/C++ compiler & IDE 0/4

Used C4droid - C/C++ compiler & IDE for Android?


Explore More


Full Specifications

GENERAL
Release
Latest update
Version
8.00
OPERATING SYSTEMS
Platform
Android
Operating System
Android 9.0
POPULARITY
Total Downloads
7,760
Downloads Last Week
33

Report Software

Program available in other languages


Last Updated


Developer’s Description

C4droid is the most powerful C/C++ IDE + C/C++ compiler for Android.

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 & education

C4droid 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, don't 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 memory OR root rights

1) Install GCC plugin

2) Select G++ compiler in C4droid preferences

Note 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(internal memory only),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 Cut

Ctrl-S, Ctrl-O for Save/Open

Ctrl-Z, Ctrl-Y for Undo/Redo.

Ctrl-L for "go to Line"

Ctrl-F for Find

Ctrl-A for select All

Ctrl-B for Build/compile

Ctrl-R for Run

Ctrl-Space/Ctrl-D for autocompletion (Ctrl-Space may be reserved by Android)

Report bugs at n0n3m4@gmail.com.

C4droid 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.


Download.com
Your review for C4droid - C/C++ compiler & IDE
Download.com

AI Assisted Content Disclosure

Content created and reviewed by Softonic with information obtained from n0n3m4-experimental, using AI.

CNET's editorial team was not involved in the creation of this content. Opinions, analysis and reviews were not provided by CNET.