How to install c compiler in mobile without root in termux


How to install c compiler in mobile without root in termux dosto aaj ka hamara topic isi bat par hai ki kaise hum c compiler ko termux me install karenge,jo log c language sikh rahe hai un ke liye apne computor ko har jagah le jana muskil hai taki vo apni coding skill ko or accha bana sake.


Aise me agar vo apne phone me hi c language ko sikh paye to ye bahut aasan hoga ynke liye , to chaliye dekhte hai ki kaise hum c compiler ko termux me install karenge.
  1. Sabse pahle Termux ko play store se download kare.
  2. Ab Termux ko open karne ke bad ye kuch fiels ko downlaod karega to is liye apka phone internet se connect hona chahiye .
  3. Iske bad apko Termux me command type karna hai “apt-get update && apt-get upgrade” isse apka Termux update ho jayega ye karna apke jaruri hai nahi to aap kisi bhi package ko install nahi kar payenge.
  4. Ab apko command type karna hai “pkg install clang” ab ise install hone de.
  5. Ab aap apne phone me Termux ke andar c language ki coding or compiling kar sakte hai.
Example :
clang hello.c
After you'll get an executable a.out which you can run using ~$./a.out
To edit and create C/C++ Scripts you can use VIM inside termux which can be installed with pkg install vim
Or, you can use QuickEdit
how to install c compiler in mobile without root in termux
Apko ye post kaisi lagi hame iske bare me jarur comment karke bataiyega

Post a comment

0 Comments