Hello I am a ( NOOB ) [ New in Programing ] ..
This was a demo of a idea 😅 I had
This is one of the way by which we can make C Programs in android and how we can compile and run as well in CLI ( without any graphical interface)..
Here I Used Termux as a cli tool to install and use GCC
i've used GCC as a compiler and nano as a text editor
( U can use Vim If u Want 2 )
[ I am not used to of it so i used nano instead 😇 ]
Since The termux which is avaliable on playstore is not the latest version so
I got Latesest version of termux from it's official website 🙄 Which Redirected to a download page on Fdroid 😏 and i hhad to find the Correct "Download Button" 🤓 i did very hard work here .. ( comment if You Agree😛)
Link 2 Download Termux : https://f-droid.org/repo/com.termux_1...
Commands I used :
1 : pkg update
2 : pkg upgrade
3 : pkg install clang
---------------------------------------| c compiler installed !
[Nano Is a CLI Text-Editor ]
[ hello.c is the file name You can pick any name]
4 : nano hello.c
[ here if we do ls we shuld be able to see hello.c file ] (hello.c created)
[ Now we must Compile it]
5 : gcc hello.c
[ After a sucessfull Compilation we will get a.out file ]
( we can directly execute this command to run our Program )
6 : ./a.out
---------------------------------------------|
I hope That Helped! Still having Issues? Comment Below
i'll try to answer ..
See You On Next Video ... ( Based On your Comments 😊)
On this page of the site you can watch the video online C Programing | Make / Compile C programs in android | Programing in android with a duration of hours minute second in good quality, which was uploaded by the user Nikhil Tiwari 26 September 2021, share the link with friends and acquaintances, this video has already been watched 51 times on youtube and it was liked by 1 viewers. Enjoy your viewing!