Code Monkey home page Code Monkey logo

rohitverma882 / c_cpp_compiler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tranleduy2000/c_cpp_compiler

0.0 1.0 0.0 722.53 MB

GNU C/C++ compiler on Android, full offline compiler, Learn to code on the go.

Home Page: https://play.google.com/store/apps/details?id=com.duy.c.cpp.compiler

License: GNU General Public License v3.0

Java 5.93% C 23.79% Makefile 14.30% Smarty 0.01% PHP 0.01% Batchfile 0.01% C++ 49.25% Objective-C 0.71% Shell 4.69% Lua 0.01% Fortran 0.01% Assembly 0.12% Python 0.01% Lex 0.02% Yacc 0.05% DIGITAL Command Language 0.01% HTML 1.10% CSS 0.01% GLSL 0.01% CMake 0.03%

c_cpp_compiler's Introduction

C/Cpp Compiler on Android - CPP N-IDE

C/C++ compiler for Android device using GCC compiler

google-play

This project is developed to help the community to learn C or C++ on the go.

You can use this app to code and compile C/C++ project without Internet.

Features

  • Offline C compiler
  • Offline C++ compiler
  • Native activity, SDL2 support for GUI
  • Build executables file, export your program
  • Make 4.0, makefile support, you can build as on your PC
  • Static code analysis, it helps you to fix "difficult" bugs:
    1. memory leaks
    2. mismatching allocation and deallocation
    3. uninitialized variables usage
    4. array index out of bounds errors
  • C/C++ code formatter
  • Terminal emulator: full-featured terminal
  • Git, svn support (Install by use Intall plugin features)
  • Diagnostic utility: auto jump to error position
  • Compiler output: See stdout, stderr
  • Syntax highlighting: C/C++ language and very more language (only highlight without compile)
  • C/C++ examples from https://www.programiz.com/cpp-programming/examples
  • File manager
  • Multi Tab: you can open different files in different tabs to manage editing multiple files simultaneously with ease.
  • Easy toolbar: you can quickly create a new file, open, save, save as, undo/redo, insert some commonly used symbols, go back to last edit location, etc.
  • List of recently opened files
  • Regular search, replace or replace all
  • Change the typeface and font size
  • Show line numbers
  • Show whitespace characters (tabs, line breaks)
  • Regular search, replace or replace all
  • "Word wrap" switch
  • Lock the screen orientation in auto, horizontal or vertical
  • Remember the last opened file
  • Hide the soft keyboard, long press the edit area can be turn on
  • Convert selected text to uppercase or lowercase by long pressing the "edit area"
  • Automatic indentation
  • Keep the screen awaken
  • Dark/Light Themes

How to use SDL, NativeActivity?

You need install SDL Plugin for CPP N-IDE and open it once time to install libraries. The application will be auto detect linker flags (LDFLAGS) for your source file

How to use makefile?

  1. Write your makefile
  2. Open terminal and type "make"

How to install libraries

  1. Open drawer then click "Install libraries/Plugin"
  2. Find your prebuilt libraries your need

Currently, I supported commom libraries such as curl, CLooG, dropbear, expat, fontconfig, freetype, glib, gmp, isl, conv, pcre, png, uuid, mpc, mpfr, ncurses, openssl, ppl

Android install

  • For arm devices: download app-arch_arm7-release.apk in release
  • For x86 devices: download app-arch_x86-release.apk in release

TODO

  • Code completion
  • Real-time diagnostics (warnings, errors) and suggestion to fix it
  • Static code analysis
  • Git support

Pull request always welcomed.

Screenshots

google-play google-play google-play

License

GNU GPL V3.0

Copyright (C) 2018 Tran Le Duy	

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

c_cpp_compiler's People

Contributors

tranleduy2000 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.