/ /

C4droid (C/C++ compiler)

Developer:
Updated / Version: 2013-04-11 / 4.01
Price: USD $2.99
User reviews:   Good, (1 review) Write a Review
User ratings:
5.0/5 (1 vote)
Downloads total / this week: 249 / 0
Add to list Buy $2.99 QR Screenshots (8)

Description

Advertisement ▼
C4droid is a user-friendly (but powerful) C/C++ IDE + C/C++ compiler for Android with GNU Makefile, SDL and Qt support. C4droid supports devices with ARM processors only (not devices with Intel x86 or MIPS processor).
You can create your own applications on Android device and run them even without Internet access: compiler is offline. Result can be exported to an executable (for terminal apps) or APK (for apps with GUI).
This app uses TCC and uClibc (or GCC + Bionic with a plugin), so it has full support of ANSI C and ISO C99 (and full C++ support with GCC).
C4droid supports syntax highlighting, code completion and source code formatting, so it is a very handy tool for education and programming on the go.

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)

C4droid contains a Terminal Emulator with BusyBox, so you can use Makefiles without any changes, shell commands syntax is the same as on Linux PC.
To compile Makefile projects, open any file in the same folder with Makefile and long-click "Compile" to configure current directory (C4droid will create .c4droid configuration file when you will press Ok). After configuring folder, you can press compile button and C4droid will build your project.
Do not forget to enter executable name and select compilation mode (and press ok also, else changes will be discarded)
You can also build and install open-source libraries the same way. Currently tested libraries are gmp(internal memory only),mpfr,mpc,libxml2,neon,sqlite,SDL_gfx(--disable-mmx required).

C4droid supports SDL, NativeActivity and Qt for GUI now, install SDL plugin for C4droid to use it (only GCC/G++ compiler is supported, so you need GCC plugin also).
(SDL is detected with #include "SDL.h", NativeActivity is detected with #include "android_native_app_glue.h", Qt is detected with #include "QtGui").
Qt support limitations:
1) If you are compiling a single-file Qt app, you must add #include "yoursourcefilenamewithcpp.moc" to the end of file. If you are using .pro file for compilation, you do not need to do that.

Quick manual:
If you have found a bug or app is not working, email me.

Long click actions:
Save button: save as.
Open button: recent files.
Run button: run with arguments.
Compile button: configure current directory.
Tab: close tab.

Result of compilation (binary or APK) can be exported using menu->export.
If you have "Illegal instruction" error using internal c compiler (TCC), install GCC plugin, GCC supports softfloat by default.

C4droid will check license via the Internet.

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.

Show full description »

What's new What's new in version 4.01

WARNING! 3.99 update will erase C4droid compiler preferences.
Email me if app won't work after update.
If app crashes after update, reinstall it (it's an Android OS bug)
4.01:
Qt projects will be reconfigured automatically.
4.00:
Fixed necessitas Ministro compatiblity.
All Qt projects must be reconfigured! (erase .c4droid file for that)
3.99:
Updated GCC to 4.8.
Added library install feature.
Improved TextWarrior.
Improved file dialog.
Fixed TCC array parameters.

Technical information Requirements, supported languages and OS

  • Supported OS: Android 2.1 and up

Discover alternatives See more related apps by tags

Video Review/installation guide/how to

Reviews Your review will also be sent to the developers email address.

You must do a trial version. I will buy the app, but I'll like to prove it.   ISrael mx Rated 3 out of 5 stars on 2012-11-12 22:50:20
Average rating 3 out of 5 stars Total reviews: 1

Your rating
Your name
Your review

(All reviews are moderated)


Share If you like it


Download badges All visitors that arrive by way of these badges will add download points to C4droid (C/C++ compiler)

Download C4droid (C/C++ compiler) / Android
more badges +


You might also like

Add to list
  • In: Education
  • By: n0n3m4
  • Updated: 2013-04-10
  • Version: 4.8.0
  • Price: Free
  • Downloads: 1,127/11
  WARNING! It's not a standalone application and it doesn't contain any activities to launch. Make sure to use latest version of C4droid installed from Google Play. Dear...
Add to list
  • In: Education
  • By: n0n3m4
  • Updated: 2013-02-03
  • Version: 6.0
  • Price: Free
  • Downloads: 11/0
  WARNING! It's not a standalone application. Make sure to use latest version of C4droid installed from Google Play. Dear pirates! I think that it will be fair to don't ...
Advertisement ▼

Categories

Access Your Account
Email:
Password:
Sign Up!

Join Us!

Top: Education