C++, C and C# console
Last updated
Last updated
There's two way to run your C++,C and C3 project.
Open your cpp
, cs
or c
file.
2. Choose built-in compiler.
3. After that click the run button.
Output:
If your codes need input type it in input and click enter.
If your code need multiple input you can do this:
input1
input2
and hit enter.
For now it's need to be rooted to use this feature but i will a may soon to run this without rooting your device.
If your device is not rooted please don't root it it will harm your devices as always do your own research.
Click the terminal icon in the left corner of your tab. (ensure you already install termux on your device else you need to download it before proceeding to this steps.)
2. Type cd
and hold the text on your screen and click paste and hit enter.
3. Install the compiler (if you already did this you skip this step on your next file run)
A. Type pkg update && pkg upgrade -y
and hit enter.
B. After installing type pkg install clang -y
and hit enter.
When clang
is install you can now compile C/C++ scripts.
4. Type ls
and hit enter.
5. Type clang yourfile.c
and hit enter.
6. Type ./a.out
and hit enter.