Mobile C { C/C++ Compiler } Icon
Download Mobile C { C/C++ Compiler }

Mobile C { C/C++ Compiler }

Learn programming ( coding ) on your mobile devices.
Category Price Seller Device
Education $13.99 Jeong Seop Lee iPhone, iPad, iPod

==== Supported Programming Languages ====
• C
• C++ 11 ( Incomplete )
• Python 3
• Javascript ( Duktape )
• Lua
• OpenGL ES 2 GLSL

========= Supported C/C++ APIs =========
• Standard C Library, POSIX
• OpenGL ES 2.0, BSD Socket, pthread
• Clang, LLVM, Duktape, Lua, libjson
• OpenAL, SQLite3, cURL, libGit2, Python3
• zLib, libPNG, libJPEG, FreeType, MiniZip
• APR, APRUtil, iconv, Expat, PCRE2, Apache Serf
• Lua, OpenSSL, Apache Subversion( Incomplete )
• HTML View

=============== Features ==============
• C/C++ auto complete.
• C/C++ syntax diagnostic.
• Built-in Terminal/Shell.

* No internet connection is required to run code.

Reviews

fscanf and fgets are broken in free and $14 version of Mobile C
u4ictgrm

iPhone 6s, Model NKRL2LL/A, SW ver. 13.1.3 It gets 4 stars when these bugs are fixed. If they implement separate compilation then it gets 5 stars. I tried the free version and it had these two bugs. I thought that (maybe) the developer intentionally limited the capability, so I purchased the ~$14 version. Same bugs! Here’s the code, the input and the result. The workaround was for me to use fgets but put a bogus record at the top, fgets and ignore it. However, fscanf is just plain broken. The same code works just fine on other C compilers, e.g., gcc under Linux, mingw32-gcc under Code::Blocks. // fin1.c: Dr. J. Morris // read values from data file via fscanf #include <stdio.h> #include <stdlib.h> #define N 10 int main(void) { double y[N]; // data loaded in this array FILE *ifp; // input file pointer int n; // number of items fscan'ed int i; // array index // open & error check files if((ifp = fopen("rawdata.dat","r")) == NULL) { perror("Error opening input file: "); exit(EXIT_FAILURE); } // read data into array, echo to console printf("fin1: fscanf is broken\n"); printf("raw data (%d values):\n",N); for(i=0; i<N; i++) { n = fscanf(ifp,"%lf",&y[i]); // BROKEN! printf("n = %d, y[%d] = %6.2lf\n", n, i, y[i]); } fclose(ifp); // close file exit(EXIT_SUCCESS); // exit program } rawdata.dat 50.1 100.2 0.2 105.5 20.3 20.0 10.0 200.0 205.0 30.0 Console output fin1: fscanf is broken raw data (10 values): n = 0, y[0] = 0.00 n = 0, y[1] = 0.00 n = 0, y[2] = 0.00 n = 0, y[3] = 0.00 n = 0, y[4] = 0.00 n = 0, y[5] = 0.00 n = 0, y[6] = 0.00 n = 0, y[7] = 0.00 n = 0, y[8] = 0.00 n = 0, y[9] = 0.00 // fin2.c: Dr. J. Morris // read values from data file via fgets #include <stdio.h> #include <stdlib.h> #include <string.h> #define N 10 #define M 25 int main(void) { double y[N]; // data loaded in this array char b[M+2]; // we'll fgets into this buffer FILE *ifp; // input file pointer int i; // array index // open & error check files if((ifp = fopen("rawdata.dat","r")) == NULL) { perror("Error opening input file: "); exit(EXIT_FAILURE); } // read data into array, echo to console printf("fin2: first fgets/atof is broken\n"); printf("raw data (%d values):\n",N); for(i=0; i<N; i++) { fgets(b, M, ifp); // entire line into buffer b[strlen(b)-1] = '\0'; // nuke newline y[i] = atof(b); // ascii to double printf("b = % 5s, y[%d] = %6.2lf\n", b, i, y[i]); } fclose(ifp); // close file exit(EXIT_SUCCESS); // exit program } Console output (first value is not correct) fin2: first fgets/atof is broken raw data (10 values): b = 50.1, y[0] = 0.00 b = 100.2, y[1] = 100.20 b = 0.2, y[2] = 0.20 b = 105.5, y[3] = 105.50 b = 20.3, y[4] = 20.30 b = 20.0, y[5] = 20.00 b = 10.0, y[6] = 10.00 b = 200.0, y[7] = 200.00 b = 205.0, y[8] = 205.00 b = 30.0, y[9] = 30.00


C++ 20 is coming soon!
听净空法师讲经

This is an adorable tool and I completed first round of learning C++ on it. Though there are weak spots such as exception handling and pointer implementation, it's truly great work for the author to create this tool.


Awesome mobile IDE
Tsiike

I don’t think I’ve ever left a review...but this developer got my money...?????? saved a junkie...


Very good
dananderstein

High quality compiler. I use it for C programming. You can even download examples for SDL2 game library. It is cool.


Handy C Compiler
Awawa212

This is a handy compiler that I am using to work through some review of basic C but also push further into the language. It doesn’t take long to adjust to its file system. That it doesn’t need an internet connection is a big plus!


Awesome.
jconnor1984

Keep it up! Ignore the butthurt old guys and brainwashed eternal students who are still using C++. They're just butthurt about the Mike Acton cppcon talk. (Speaking as someome that was only ever taught C++ in school, and only discovered the power of C in the last year)


Good app
SVR027

Despite all the negative comments I bought it, and it does everything I need from it. Lets me design a simple algorithm while I am idle. There is no way to develop serious stuff using this app, but it is awesome to keep me busy. Thanks for the simple GUI and a good app.


Good app
SVR027

Despite all the negative comments I bought it, and it does everything I need from it. Lets me design a simple algorithm while I am idle. There is no way to develop serious stuff using this app, but it is awesome to keep me busy. Thanks for the simple GUI and a good app.


iCloud sync
^Yazdan^

Please add icloud syncing. I use this app on both iPhone and iPad but I can't have all my codes on both of them. Thank you !✋?


The best way to code
很黑的白

It is the best compiler I ever used on iPhone


Featured on lists