How to compile and run a C/C++ program on the Android system ? - C4droid and Cppdroid compiler and IDE

This post is on Compile and run a C/C++ program on the Android using C4droid and Cppdroid compiler and IDE, for other articles, check our homepage.

You can compile and run C/C++ programs on Android device in two ways.
  • C4Droid - C/C++ Compiler and IDE (paid)
  • CppDroid - C/C++ Compiler and IDE
Let us have a look at C4Droid - C/C++ Compiler and IDE features.


Features of C4Droid - C/C++ Compiler and IDE -
  • 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.
  • 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
You can visit this app on Play store. Click here to go to the C4Droid app page on Google Play.

NOTE : This is a paid app. (Not Free of Cost)


Now, Let us have a look at CppDroid - C/C++ Compiler and IDE features, which is a free app

  • code complete
  • real-time diagnostics (warnings and errors) and fixes
  • file and tutorial navigator (variables, methods, etc)
  • static analysis
  • smart syntax highlighting
  • portrait/landscape UI
  • auto indentation and auto pairing (configurable)
  • configurable code syntax highlighting (themes)
  • compile C/C++ code (no root required)
  • works offline (built-in compiler, no internet connection required)
  • great C/C++ code examples included
  • detailed C++ tutorial and learn guide included
  • add-ons manager and auto updates
  • Dropbox support
You can visit this app on Play store. Click here to go to the CppDroid app page on Google Play.
Use the buttons below to share this article with your friends!

4 comments:

  1. I'd like to suggest new ios app - CppCode. It's the first and the only offline C/C++ IDE & Compiler on iOS!
    You can code C/C++ right on your iPhone/iPad without jailbreak and without internet connection. It starts new age of coding-on-the-go!

    You can find app feature list, screenshots and video on Vimeo/Youtube and even quick start at http://cppcode.info

    AppStore:
    https://itunes.apple.com/app/cppcode-offline-c-c++-ide/id936694712

    ReplyDelete
    Replies
    1. I think the above above Apps are far better than CppCode. Moreover, it is also not available for Android.

      Delete
  2. nice article and very usefull here you can view pip camera online

    ReplyDelete