Sign in to follow this  
Followers 0
jacksparrow

C4droid - C/C++ compiler & IDE v4.98 + GCC Plugin

3 posts in this topic

C4droid - C/C++ compiler & IDE v4.98 + GCC Plugin
Requirements: Android v2.1 and above
Overview:  C4droid is a user-friendly (but powerful) C/C++ IDE + C/C++ compiler for Android.

bX-nG3yckXC3dggJ4DxD8KGKRgVhnxh0RpxBcN6l
C4droid is a user-friendly (but powerful) C/C++ IDE + C/C++ compiler for Android.

Basic features:
- Offline C compiler: create your own applications on Android device and run them even without Internet access
- Source code editor with syntax highlighting, tabs, code completion, code formatting, file association and undo/redo
- Export&share your programs as APKs or native executables (for terminal apps)
- 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) + uClibc
- Git integration
- Customizable GUI, choose where to place tabs and buttons by yourself, themes are also supported.
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
- Debugger with breakpoints and watches
- 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*) Add "using namespace std;" to your program(before int main), use iostream, not iostream.h
Note that if you want to use C4droid as a C compiler, it is better to select GCC, not G++.

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 "QApplication"
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)

Report bugs at [email protected]

C4droid stands for "c for android" (or "c++ for android"), but it doesn't actually contain an Android trademark.
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.

----------

GCC plugin for C4droid C++ IDE v4.9.1 (Build 75)

WARNING! It's not a standalone application and it doesn't contain any activities to launch.
Make sure to use latest version of main app installed from Google Play.
Link to the main app: http://spam.com/KN6lIy
Don't write a review if C4droid wasn't installed from Google Play - it will be ignored anyway.

This plugin makes C4droid a fully functional C++ IDE using GNU GCC (C and C++ compiler).
It contains GCC 4.8.2 with Bionic (Android libc), email me to get the source code.

To download this app you must have C4droid installed (other usage is prohibited).
Android is a trademark of Google Inc.
Some executables in this app package are licensed under (L)GPL, email me to get the source code.
Note: C4droid can be also used as a C IDE with this plugin because GCC contains a fully-functional
C compiler too (but for a C++ IDE and C++ compiler, GCC compiler is an only choice).
/// WHAT'S NEW
Version 4.97:
- License check now checks if Google servers are working properly (surprisingly it is required sometimes). Sorry for any inconvenience.
Version 4.96:
- Debugger bugfix.
Version 4.95:
- Added debugger
- Added git folder synchronization
- Added run terminal option for advanced users
- Added some themes and editor features
- Added APK export resource support
- Fixed Android L support
- Updated Qt to 5.3
- Updated GCC to 4.9.1

[GCC plugin]

4.9.1 (July 26 update):
- Libstdc++ hotfix. Reinstall GCC from C4droid preferences.

This app has no advertisements

More Info:

https://play.google.com/store/apps/details?id=com.n0n3m4.droidc'>>https://play.google.com/store/apps/details?id=com.n0n3m4.droidc
Download Instructions:

C4droid - CC++ compiler & IDE v4.98.apk -  2.6 MB

GCC plugin for C4droid C++ IDE:

C4droid - CC++ compiler & IDE v4.98 + GCC Plugin.apk -  2.6 MB
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0



  • Similar Content

    • By SNB
      Novel Writer v4.98
      Requirements: Android 3.2+
      Overview: Whether you want to write a detective novel, an adventure story, a romantic comedy or even your own autobiography, Novel Writer software eliminates your writer's block thanks to a unique step by step methodology which includes a simultaneous approach: Learn and Write!
      Step by step, this method helps you define your subject, organize your story outline and its various elements while at the same time letting your imagination roam freely.
       

       
      PRODUCT FEATURES:
      * Expert designed lessons on the main principle of writing
      * Over 35 exercises related to your story including tips and help
      * Full word processing software
      * PDF export
      * Spell checker
      * Smart chapter navigator
      * Summary note
      * Character and set cards, and many other tools
      * Extremely user friendly
       
      This app is compatible with NovelWriter for PC and Mac.
       
      Next features available soon :
      * drag and drop of scenes and chapters
      * save file on dropbox or googledrive
       
      What's New:
      v4.98
      # new feature: it's now possible to increase size of the text in the writing panel (using the "settings" menu)
      # various improvements
      v4.95
      # text selection
      # copy/cut/paste (in the “edit” menu)
      # undo and redo (in the “edit” menu)
      # font selection (with the “aA” button)
       
      This app has no advertisements
       
      More Info:
      https://play.google.com/store/apps/details?id=com.thewriterzone.novelwriter'>>https://play.google.com/store/apps/details?id=com.thewriterzone.novelwriter
      Download Instructions:

      Novel Writer v4.98 - android-zone.ws.apk -  15.5 MB
       

       

    • By jacksparrow
      Little Photo Plugin v1.2
      Requirements: 1.6 and up
      Overview: This is the official plugin for Little Photo.
      If you are looking for more advanced photo tuning
      If you want to support my work of Little Photo, please buy this app. Thanks.

      Added tools:

      * Brightness
      * Contrast
      * Exposure
      * Saturation
      * Merge photo (combine multiple photos into one, with rotation)
      * Smooth skin (Touch the skin to smooth and blur it)
      * Lighten / Darken spot
      * Crop tool
      * Using Front-camera of your phone
      More functions will be added in future updates.
      Enjoy !

      This app has no advertisements

      More Info:

      https://play.google.com/store/apps/details?id=com.littlephotoplugin'>>https://play.google.com/store/apps/details?id=com.littlephotoplugin Download Instructions:Little Photo Plugin v1.2.rar -  1.1 MB
       
    • By jacksparrow
      EasyOvpn Premium - Plugin for OpenVPN v2.61 build 150204261
      Requirements: 2.2+
      Overview: Lead Free VPN application on Android and iOS!
      Wonderful plugin for popular OpenVPN clients.


      Lead Free VPN application on Android and iOS!
      Wonderful plugin for popular OpenVPN clients.
      Enable you to find and import FREE open VPN servers from Internet for OpenVPN clients.
      Increase their availability to easily UNBLOCK blocked sites like Twitter, Facebook, Youtube, etc.
      Encrypt the data, Protect your privacy, Bypass firewall, Hide your public ip, nobody know where are you from.
      ** Comments from Users**
      "Before this app came I used to ignore the parent app the open vpn connect. Now, together these apps beats every vpn app in the market both free and paid ones." -- Satheesh Kumar
      *** IMPORTANT ***
      - It is a plugin, so does NOT work standalone!
      - Designed for co-working with "OpenVPN Connect", "OpenVPN for Android", and "OpenVPN Settings".
      - For Android4.0 and upper, suggest to install the official OpenVPN client "OpenVPN Connect", for which we provide specific feature.
      - Of cause, you can use "OpenVPN for Android". Support import ovpn profiles, but can't clean them quickly.
      - For Android2.x and 3.x, suggest to install "OpenVPN Settings" (need root the phone). Support import ovpn profiles.
      - All servers are from Internet, so we can't make sure each of them be available, so need you to try one by one patiently. One tap version is in plan, but need more time to develop.
      *** HOW TO USE ***
      1. Install the app and "OpenVPN Connect"
      2. Open the app, and click the refresh button, then waiting for server list
      3. Click one server, the ovpn profile import screen will be started, click the "Accept" button
      4. In the "OpenVPN Connect" main screen, click "Connect" button
      5. If you are lucky, you will get a VPN connection.
      6. If the server can't be reached, please repeat steps: 3 - 4
      *** HOW TO REMOVE ALL OVPN PROFILES QUICKLY ***
      As time goes on, lots of OVPN profiles are obsoleted. The app provides option to clean the profiles quickly. Click the "Ovpn" button, the App Info page of OpenVPN Connect will come out, then you can click "Clear Data" button to clear all its profiles.
      *** SUPPORTING DEVICES ***
      - Supports 2.x, 4.x OS
      - But NO for devices for lacking of TUN module in kernel (Please try "TUN.ko installer")
      *** LANGUAGES ***
      - English
      - Chinese Simplified
      - Chinese Traditional
      - Arabic
      - Korean
      - Spanish
      - Thai
      - Vietnamese
      - Indonesian
      - ...
      More languages will be supported, if you'd like to help to transfer, and show your name in the thanks, please send us email.
      *** GET SUPPORT ***
      If you have a problem when using the app, please use the Feedback function inside the app or Send us Email: [email protected] We will try our best to help you.
      If the app helps you and you like it, please rate Excellent for us. If it makes you unhappy, please kindly let us know why. THANKS.
      If you find bugs, please kindly report them to us.

      WHAT'S NEW

      - Improve performance
      - Share OVPN profile to PC (Premium)
      - Disalbe ADs (Premium)
      - More VPN servers (Premium)
      - Fix some bugs

      This app has no advertisements

      More Info:

      https://play.google.com/store/apps/details?id=com.easyovpn.easyovpn'>>https://play.google.com/store/apps/details?id=com.easyovpn.easyovpn Download Instructions:EasyOvpn Premium - Plugin for OpenVPN v2.61 build 150204261.apk -  1.7 MB