C4droid - C/C++ compiler & IDE on Windows Pc
Developed By: n0n3m4
License: Free
Rating: 4,7/5 - 3.246 votes
Last Updated: December 27, 2023
App Details
Version |
Varies with device |
Size |
1 MB |
Release Date |
October 07, 20 |
Category |
Education Apps |
What's New: Fixed a lot of bugs.Updated GCC to 10.2.Qt doesn't require any 3rd-party apps anymore.Terminal can now be closed with Ctrl+X.SDL2 now supports immersive... [see more]
|
Description from Developer: 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 I... [read more]
|
About this app
On this page you can download C4droid - C/C++ compiler & IDE and install on Windows PC. C4droid - C/C++ compiler & IDE is free Education app, developed by n0n3m4. Latest version of C4droid - C/C++ compiler & IDE is Varies with device, was released on 2020-10-07 (updated on 2023-12-27). Estimated number of the downloads is more than 50,000. Overall rating of C4droid - C/C++ compiler & IDE is 4,7. Generally most of the top apps on Android Store have rating of 4+. This app had been rated by 3,246 users, 150 users had rated it 5*, 2,654 users had rated it 1*.
How to install C4droid - C/C++ compiler & IDE on Windows?
Instruction on how to install C4droid - C/C++ compiler & IDE on Windows 10 Windows 11 PC & Laptop
In this post, I am going to show you how to install C4droid - C/C++ compiler & IDE on Windows PC by using Android App Player such as BlueStacks, LDPlayer, Nox, KOPlayer, ...
Before you start, you will need to download the APK/XAPK installer file, you can find download button on top of this page. Save it to easy-to-find location.
[Note] You can also download older versions of this app on bottom of this page.
Below you will find a detailed step-by-step guide, but I want to give you a fast overview of how it works. All you need is an emulator that will emulate an Android device on your Windows PC and then you can install applications and use it - you see you're playing it on Android, but this runs not on a smartphone or tablet, it runs on a PC.
If this doesn't work on your PC, or you cannot install, comment here and we will help you!
Step By Step Guide To Install C4droid - C/C++ compiler & IDE using BlueStacks
- Download and Install BlueStacks at: https://www.bluestacks.com. The installation procedure is quite simple. After successful installation, open the Bluestacks emulator. It may take some time to load the Bluestacks app initially. Once it is opened, you should be able to see the Home screen of Bluestacks.
- Open the APK/XAPK file: Double-click the APK/XAPK file to launch BlueStacks and install the application. If your APK/XAPK file doesn't automatically open BlueStacks, right-click on it and select Open with... Browse to the BlueStacks. You can also drag-and-drop the APK/XAPK file onto the BlueStacks home screen
- Once installed, click "C4droid - C/C++ compiler & IDE" icon on the home screen to start using, it'll work like a charm :D
[Note 1] For better performance and compatibility, choose BlueStacks 5 Nougat 64-bit read more
[Note 2] about Bluetooth: At the moment, support for Bluetooth is not available on BlueStacks. Hence, apps that require control of Bluetooth may not work on BlueStacks.
How to install C4droid - C/C++ compiler & IDE on Windows PC using NoxPlayer
- Download & Install NoxPlayer at: https://www.bignox.com. The installation is easy to carry out.
- Drag the APK/XAPK file to the NoxPlayer interface and drop it to install
- The installation process will take place quickly. After successful installation, you can find "C4droid - C/C++ compiler & IDE" on the home screen of NoxPlayer, just click to open it.
Discussion
(*) is required
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.
Fixed a lot of bugs.
Updated GCC to 10.2.
Qt doesn't require any 3rd-party apps anymore.
Terminal can now be closed with Ctrl+X.
SDL2 now supports immersive mode.