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 😊)
Auf dieser Seite können Sie das Online-Video C Programing | Make / Compile C programs in android | Programing in android mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Nikhil Tiwari 26 September 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 51 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!