Download diretto
Scarica questa app sul tuo desktop
| Indice di sicurezza | ||
|---|---|---|
| #1 | Aptoide | 7.5 |
| #2 | Google Play | 7 |
| #3 | CafeBazaar | 7 |
| ... | ||
| #20 | GetJar | 4.3 |
C4droid is the most powerful C/C++ IDE + C/C++ compiler for Android.
Features:
• Offline C/C++ compiler: create your own applications on Android device and run them even without Internet access
• Qt, SDL, SDL2, Allegro, SFML, FLTK and NativeActivity support for graphics
• Export & share your programs as APK or binaries
• Debugger with breakpoints and watches
• CMake and Makefile support: use the same build scripts as on your PC (BusyBox is included)
• Source code editor with syntax highlighting, tabs, code completion, code formatting, file association and undo/redo
• 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) + musl libc
• Fully-functional C++ compiler, complete C++11 support with GCC
• Git integration
• Customizable GUI, choose where to place tabs and buttons by yourself, themes are also supported
• 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 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 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 use graphics libraries 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:
every graphics mode is detected with corresponding include string (e.g. SDL is detected with #include "SDL.h", check bundled examples for more info). Commenting out these lines will not have any effect.
If you are compiling a single-file Qt app, you should also add #include "yoursourcefilenamewithcpp.moc" to the end of source code file also.
How to install C++ support manually?
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 (100MB+) internal memory
1) Install GCC plugin
2) Select G++ compiler in C4droid preferences
Note that if you want to use C4droid as a C compiler, it is better to select GCC, not G++.
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, mpfr, mpc, libxml2, neon, sqlite, SDL_gfx (--disable-mmx required).
Which gestures/keyboard shortcuts does C4droid support?
Long-click gestures:
New button: delete current file.
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 n0n3m4@gmail.com.
C4droid stands for "c for android" (or "c++ for android").
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.
C4droid è il più potente compilatore C / C ++ IDE + C / C ++ per Android.
Caratteristiche:
• Compilatore C / C ++ offline: crea le tue applicazioni sul dispositivo Android ed eseguile anche senza accesso a Internet
• Supporto Qt, SDL, SDL2, Allegro, SFML, FLTK e NativeActivity per la grafica
• Esporta e condividi i tuoi programmi come APK o binari
• Debugger con breakpoint e orologi
• Supporto per CMake e Makefile: usa gli stessi script di build del tuo PC (BusyBox è incluso)
• Editor del codice sorgente con evidenziazione della sintassi, schede, completamento del codice, formattazione del codice, associazione dei file e annulla / ripristina
• Nessun root richiesto (ma C4droid può usarlo per i tuoi programmi se vuoi)
• Supporto completo ANSI C e ISO C99 con TCC (Tiny C Compiler) + musl libc
• Compilatore C ++ perfettamente funzionante, supporto C ++ 11 completo con GCC
• Integrazione Git
• GUI personalizzabile, scegli dove posizionare schede e pulsanti da solo, i temi sono supportati
• Funzionalità di porting delle librerie open source semi-automatico per una migliore programmazione e formazione
C4droid è progettato per essere intuitivo e intuitivo, ma nulla è perfetto, quindi ecco alcune risposte alle domande che possono apparire:
Come usare Makefile, progetti multifile, ecc.?
Fare clic con il pulsante lungo compilare (o selezionare "impostazioni di compilazione" se i pulsanti sono nascosti / spostati) e configurare la directory corrente per utilizzare la modalità desiderata.
Si noti che C4droid creerà il file di configurazione .c4droid quando si preme Ok. Alcune modalità (come makefile) richiedono di inserire il nome del file eseguibile del risultato, non dimenticare di farlo.
Dopo averlo fatto, usa tutti i pulsanti di compilazione ed esecuzione per compilare ed eseguire l'app normalmente.
Come utilizzare le librerie grafiche in modalità file singolo?
Basta installare il plug-in SDL e selezionare il compilatore G ++ nelle preferenze di C4droid.
Nota che C4droid sceglie la modalità app usando un'analisi del codice sorgente molto semplice:
ogni modalità grafica viene rilevata con la stringa di inclusione corrispondente (ad es. SDL viene rilevata con #include "SDL.h", consultare gli esempi in bundle per ulteriori informazioni). Commentare queste righe non avrà alcun effetto.
Se stai compilando un'app Qt a file singolo, dovresti anche aggiungere #include "yoursourcefilenamewithcpp.moc" alla fine del file di codice sorgente.
Come installare manualmente il supporto C ++?
C4droid ti chiederà di installare il supporto C ++ al primo avvio e si configurerà in modalità semi-automatica.
Se vuoi farlo manualmente, devi:
0) Memoria interna (100 MB +) sufficiente
1) Installa il plugin GCC
2) Seleziona il compilatore G ++ nelle preferenze di C4droid
Si noti che se si desidera utilizzare C4droid come compilatore C, è meglio selezionare GCC, non G ++.
Come creare e installare librerie?
Quasi allo stesso modo della normale creazione di Makefile, tranne per il fatto che molto probabilmente potrebbero essere necessari alcuni patch.
Le librerie attualmente testate sono gmp, mpfr, mpc, libxml2, neon, sqlite, SDL_gfx (--disable-mmx richiesto).
Quali gesti / scorciatoie da tastiera supporta C4droid?
Gesti a lungo clic:
Nuovo pulsante: elimina il file corrente.
Pulsante Salva: salva con nome.
Pulsante Apri: file recenti.
Pulsante Esegui: esegui con argomenti.
Pulsante Compila: configura la directory corrente.
Scheda: chiudi scheda.
Tasti rapidi:
Ctrl-C, Ctrl-V, Ctrl-X per Copia, Incolla e Taglia
Ctrl-S, Ctrl-O per Salva / Apri
Ctrl-Z, Ctrl-Y per Annulla / Ripeti.
Ctrl-L per "vai alla linea"
Ctrl-F per Trova
Ctrl-A per selezionare Tutto
Ctrl-B per costruire / compilare
Ctrl-R per Esegui
Ctrl-Spazio / Ctrl-D per il completamento automatico (Ctrl-Spazio può essere riservato da Android)
Segnala i bug a n0n3m4@gmail.com.
C4droid sta per "c per android" (o "c ++ per android").
C4droid non è un compilatore online, quindi utilizza binari reali.
Alcuni file binari in APK sono concessi in licenza sotto (L) GPL, inviami un'e-mail per il codice sorgente (compilatore Tiny C, GCC, BusyBox, ecc.)
Android è un marchio di Google Inc.
Qt è un marchio registrato di Digia.
Recensioni su C4droid - C/C++ compiler & IDE