Android 台灣中文網

標題: [不用錢]C4droid (C/C++ compiler) 讓你隨時隨地寫程式![原價€ 2,28] [打印本頁]

作者: wboo    時間: 2013-2-16 03:37
標題: [不用錢]C4droid (C/C++ compiler) 讓你隨時隨地寫程式![原價€ 2,28]

                               
登錄/註冊後可看大圖


                               
登錄/註冊後可看大圖

C4droid is a simple C/C++ IDE + C/C++ compiler for Android with GNU Makefile, SDL and Qt support. C4droid supports devices with ARM processors only (not devices with Intel x86 or MIPS processor).
You can create your own applications on Android phone, and run them (even without Internet access: compiler is offline). This app uses TCC and uClibc (or GCC with Bionic libc with a plugin), so it has full support of ANSI C and ISO C99. C4droid can be used for educational purposes or to practice in C/C++ language.
Some components of C4droid are LGPL-licensed. You can download used source code of TCC and uClibc on their websites (But TCC had been modified by me, so I recommend to email me to get modified source).
To get C++ support you need:
0) Enough internal memory OR root rights.
1) Install GCC plugin (C4droid will ask you to install it).
2) Select G++ compiler in C4droid preferences.
3*) Use iostream, not iostream.h
4*) Add "using namespace std;" to your program (before int main)
To compile Makefile projects, open any file in the same folder with Makefile and long-click "Compile" to configure current directory (C4droid will create .c4droid configuration file when you'll press Ok). After configuring folder, you can press compile button and C4droid will build your project.
Don't forget to enter executable name and select compilation mode (and press ok also, else changes will be discarded)
C4droid supports SDL, NativeActivity and Qt for GUI now, install SDL plugin for C4droid to use it (only GCC/G++ compiler is supported, so you need GCC plugin).
(SDL is detected with #include "SDL.h", NativeActivity is detected with #include "android_native_app_glue.h", Qt is detected with #include "QtGui").
There is an experimental support for Qt using necessitas, but note that it's in alpha stage.
Qt support limitations:
1) Path to Ministro libraries is hardcoded (/data/data/org.kde.necessitas.ministro/files/qt/lib), so email me if it will change.
2) If you're compiling a single-file Qt app, you must add #include "yoursourcefilenamewithcpp.moc" to the end of file. If you're using .pro file for compilation, you don't need to do that.
Quick manual:
If you have found a bug or app is not working, email me.
Long click actions:
Save button: save as.
Open button: recent files.
Run button: run with arguments.
Compile button: configure current directory.
Tab: close tab.
Result of compilation (binary or APK) can be exported using menu->export.
If you have "Illegal instruction" error, using internal compiler (TCC), install GCC plugin, GCC supports softfloat (by default).
C4droid will check license via the Internet.
Report bugs at [email protected].
Some components of this app are licensed under (L)GPL, email me to get the source code.
Android is a trademark of Google Inc.
Qt is a registered trademark of Digia.

                               
登錄/註冊後可看大圖


                               
登錄/註冊後可看大圖

原價€ 2,28
現在不用錢便能享受這個強大的C/C++編寫APP了!

apk.tw-C4droid.C.C.compiler.3.98.Android.apk

1.64 MB, 下載次數: 152, 下載積分: 碎鑽 -1 個


作者: royleon4    時間: 2013-2-16 08:23
連寫程式也放在手機上阿 不會太辛苦嗎....
純推不下
作者: bddbdd    時間: 2013-2-16 10:03
好好哦 学习的好帮手啊  
作者: jim261jim261    時間: 2013-2-16 10:38
請問有辦法解鎖GCC嗎
進到設定GCC的設定被鎖住,你懂的
以前的版本也都這樣

作者: yyy957    時間: 2013-2-16 10:46
英文不認識我>-<
作者: twyunn    時間: 2013-2-16 11:09
跟樓上同感
若有中文就好得不得了
看了樓上的大大們的反應
好像也沒有很完美
先鼓勵吧
加油

謝 謝分享
作者: chicoleader    時間: 2013-2-16 11:41
連 C 都有了,我看我的 PC 也該退休了~~~讚一個~~
作者: garbage0906    時間: 2013-2-16 17:52
實用性高嗎?
在平板上 coding ??
想到手腕就快斷了......
作者: dack1101    時間: 2013-2-22 16:25
感覺好像好玩~~~
先載再說~~~

作者: samsum0312    時間: 2013-2-27 00:57
好哦 学习的好帮手啊  
作者: skyblue    時間: 2013-2-27 08:56
在小小的手機上編碼....我的媽啊
除錯時.....我會發瘋的
不過....對於寫程式的狂人....應該會很好用吧!!




歡迎光臨 Android 台灣中文網 (https://apk.tw/) Powered by Discuz! X3.1