Home > By category > Education >Others > C4droid (C/C++ compiler & IDE)



C4droid (C/C++ compiler & IDE)

  • Downloads: 
  • Views: 
  • Rating:

C4droid is a user-friendly (but powerful) C/C++ IDE + C/C++ compiler for Android. Note that C4droid supports devices with ARM processors only (not devices with Intel x86 or MIPS processor).
Basic features:
- Offline compiler: create your own applications on Android device and run them even without Internet access
- No root required (but C4droid can use it for your programs if you want)
- Full ANSI C and ISO C99 support with TCC + uClibc
- Source code editor with syntax highlighting, tabs, code completion, code formatting, file association and infinite undo/redo
- Export&share your programs as APKs or native executables (for terminal apps)
More features with a free GCC plugin:
- Full C++ and almost complete C++11 support with GCC + Bionic libc
- NativeActivity, Qt, SDL and SDL2 support for GUI
- The most recent version of GCC always available
- Makefile support: use the same build scripts as on your PC (BusyBox is included)
- 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 install C++ support?
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 internal memory OR root rights. C4droid does not require root rights for devices with more than 50MB of free internal memory.
1) Install GCC plugin (C4droid will ask you to install it).
2) Select G++ compiler in C4droid preferences.
3*) Use iostream, not iostream.h
4*) Add "using namespace std;" to your program (before int main)

How to use SDL, SDL2, NativeActivity and Qt 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:
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 "QtGui"
If you are compiling a single-file Qt app, you must add #include "yoursourcefilenamewithcpp.moc" to the end of source code file also.

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 will 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 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:
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)

If you have found some bugs or you want more help, contact me.
C4droid will check license via the Internet, make sure to have a correct Google Play app (not patched or hacked).

Report bugs at n0n3m4@gmail.com.

Some binaries contained in APK are licensed under (L)GPL, email me to get the source code (Tiny C compiler, GCC, BusyBox, etc.)
Android is a trademark of Google Inc.
Qt is a registered trademark of Digia.

Free download from Shareware Connection - C4droid is a user-friendly (but powerful) C/C++ IDE + C/C++ compiler for Android. Note that C4droid supports devices with ARM processors only (not devices with Intel x86 or MIPS processor).Basic features:- Offline compiler: create your own...

Publisher: n0n3m4 | License: Shareware | Price: 3.12
Version: 4.09 | Size: 1740 KB | Platform: Android, WinMobile
Released Date: | Rating: 0 | Title: C4droid (C/C++ compiler & IDE)

Author Url: https://play.google.com/store/apps/developer?id=n0n3m4
Program Info Url: https://play.google.com/store/apps/developer?id=n0n3m4
Download Url: https://play.google.com/store/apps/details?id=com.n0n3m4.droidc

C4droid (C/C++ compiler & IDE) related downloads:

C/C++ Compiler for SuperH Family - The C/C++ Compiler for SuperH Family is an optimising ANSI C and ANSI C++ compiler for the SuperH embedded RISC microprocessor family.

C/C++ Compiler for H8SX, H8S, H8 Family - The H8 C/C++ Compiler is an optimizing ANSI C and ANSI C++ compiler for H8, H8S, H8SX family microcontrollers.

C/C++ Compiler for M16C Series and R8C Family - The C/C++ Compiler for M16C Series and R8C Family package includes the following embedded system development tools:C/C++ compiler : NC30 Optimizing ANSI C compiler with extensions for embedded systems.

C/C++ Compiler for M32R Family - The C/C++ Compiler for M32R Family package includes the following embedded system development tools.

C/C++ Compiler Package for RX Family - The C/C++ Compiler Package for RX Family package includes the following embedded system development tools:C/C++ compilerANSI-compliant.

Shareware Connection periodically updates pricing and software information of 'C4droid (C/C++ compiler & IDE)' from company source 'n0n3m4' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'C4droid (C/C++ compiler & IDE)' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of C4droid (C/C++ compiler & IDE).

New Reviews

TuckAway Intelligent Email Organizer Pro - Using an email software allow you to do a number of things including managing your address lists, emails and even ending memos, documents and even virtual letters. You can also use it to manage your tasks easily. The email software comes in ...

Norman Antivirus - There is hardly any computer user who does not require protection from various types of malware and internet based threats these days. Instances of malware creators and hackers breaking into top corporate firms and celebrity websites can send a ...

Freemake Video Converter - Video conversion can become a necessity for average PC users who find it increasingly hard to manage an ever growing collection of media and video files. The DVDs, videos obtained from web and clips shot with mobile devices keep growing. Over ...

WinKleaner Classic - Whether you use a laptop or desktop, with time it is likely to show deficit in performance and speed. This is owing to the inherent limitations of Windows OS and things can vary based on your usage pattern. Traces of removed programs existing in ...

WebSite X5 Evolution 10 - Web designing has evolved lot compared to the early days of the internet. You can pick from a number of web design apps and frameworks that take away the pain of manual coding and debugging to a large extent. Even then, it may be necessary to ...

PCMark 8 - Not every PC user would have penchant for running new benchmarks and benchmarking software in their computers. It is only hardcore gamers and seasoned users who like tinkering around with various settings in PC benchmarking tools. Such apps also ...

F-Secure Online Scanner - The menace of malware and various online threats have grown by leaps and bound in recent times. You no longer can stay assured after installing a regular malware cleaner or antivirus suite like earlier. Security conscious PC users often resort to ...

Screenshot Captor - Nowadays, a lot of Windows users need to take screenshots for professional and personal usage needs. It may be required to share an interesting image from web site or part of web pages with friends, making tutorials etc. However, freeware screen ...

Pixelmator - There is no denying the fact that Mac users are often left with fewer third party app choices than those who use Windows based PCs. However, when it comes to imaging, the situation is a little better. If you want a versatile image editor for Mac ...

Movavi Video Suite - Video recording has become accessible to the mass owing to advancement of technology and advent of handheld devices like tablets and phone with such features. Whether you use a camcorder or use an Android phone, shooting 1080p HD video is pretty ...




New Downloads

SO-Log

"SO-Log" generates boring logs
as a means to summarize and
report several tests performed
within a geotechnical ...

Random Word Generator

Random Word Generator creates
lists of random, artificial
words. Other features:
customizable word construction
engine, ...

NeuroXL Package

NeuroXL Package is a neural
network toolkit for Microsoft
Excel. NeuroXL Predictor is
designed for forecasting and
...

School Calendar for
Workgroup

This is a more powerful
version of School Calendar,
with all of the features of
the standard version, but with
the ...

VisualStat

VisualStat is a major
integrated development
environment for R. It
incorporates all the
descriptive statistics, ...

Asynx Planetarium

Asynx Planetarium is a easy to
use planetarium program and
solar system simulator. It can
display the night sky from any
...

Memory game: Animals

A memory game for kids with
great high-def graphics! Three
difficulty levels, nice
graphics and sounds will
guarantee ...

MemoryTap

MemoryTap is a game designed
to exercise your memory,
improve your reflexes and help
avoid future memory related
...

The Break Room

This is the most convenient
and reliable way to access The
Break Room. You're always
connected to the latest
episode. ...

Media_fullnames

An application to make aware
of the full forms of the
extensions of media players.

AeroWeather

Finally, the famous
Aeroweather app is now
available on Android!Get
current and precise weather
conditions (METAR) as ...

MathGym

Practise mental calculations
and get instant statistics on
how fast you are doing. You
can select number of digits to
...