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 😊)
На этой странице сайта вы можете посмотреть видео онлайн C Programing | Make / Compile C programs in android | Programing in android длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Nikhil Tiwari 26 Сентябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 51 раз и оно понравилось 1 зрителям. Приятного просмотра!