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

FileStream TurboBackup - Nowadays, data security and backup have become commonplace activity for nearly all PC users. You need to backup precious data either in external media or cloud storage services to evade circumstances like hard disk failure or malware invasion. ...

Avast Endpoint Protection Suite Plus - PC security has become a vital aspect of computing nowadays and business users face the heat more than home users. While installing and handling a standalone antivirus suite is neither tedious nor time consuming, the scenario is different in ...

Style Jukebox - No matter if you use a computer for personal needs or work in a networked setup, listening to music is commonplace. It is required for relaxation amidst work and nearly every user indulges in it. For music playback on PC, the WMP is not the only ...

NovaBench - PC performance benchmarking is something that may not interest average users much but tech savvy lot resort to such apps to find out prowess and capability of their laptops and desktops. While there are quite a few PC benchmarking apps in market, ...

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

Uniblue SpeedUpMyPC 2013 - Even if you use an expensive desktop or laptop with beefy hardware and have the latest version of Windows installed, it is not unusual to find your system running sluggishly after prolonged usage. This has got more to do with inherent working ...

KeePass Password Safe - Using password becomes mandatory for performing various online operations, at both home and workplace. For accessing email accounts, shopping online, making banking transactions and similar tasks it is necessary to use user ids and passwords ...

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

McAfee SiteAdvisor Live - Nowadays, PC users look for more than a standalone antivirus software to boost their PC protection level. If you feel concerned about online safety and need a more secure browsing experience, it is prudent that you use an add-on security tool ...

Norton Zone - With a lot of your data being stored in some cloud service or other, it becomes necessary after a point to zero in on any one service rather than using many at the same time. As it is, major software companies are resorting to cloud based service ...




New Downloads

LangOver

LangOver helps in case you
write some text and forgot to
click ALT+SHIFT or CAPSLOCK.
Annoying, eh?! That\'s because
the ...

Kintecus

Modeling software to simulate
the chemical kinetics and
equilibrium of combustion,
nuclear, catalyst reactor
(CSTR) and ...

Exam Simulator for CCENT

The features of CCENT Exam
Simulator include 250+
questions, Support for
different question types,
Flash card ...

Switch Network Simulator

The features of Switch Network
Simulator include - Lab
exercises: For hands on
practice, Detailed lab manual,
Supports ...

States Governors

This is your one-stop United
States Governors directory
that provides all the
information you will ever need
to know ...

BEST OF THE LEFT APP

This biweekly show is a
beautifully executed
compilation combining the
absolutebest in left-leaning
political news and ...

MathKarnoid

Un jeu de math permettant au
enfant de rA*viser les tables
d'addition, soustraction,
multiplication et division.
Mais ...

Haikupoetry

*

MagicTen

Destroy balls by selecting
them so that thier sum is
10.Don't let the balls hit the
floor.Update1.1 The addition
of the ...

fanyingceshi

*

Smart Speller Danish

Learning to *spell in Danish*
has never been so much fun
with the new Smart Speller
Danish from EduKidsApps!Please
note: ...

Map Whiz: India

Try to identify maps of all
the states in India as quickly
as possible. Great for getting
ready for that quiz in ...