r/cprogramming • u/Loud_Dreamer1718 • Aug 28 '26
What application should i download?
Helloo!! Information technology freshie heree! our professor in Computer Programming 1 is requiring us to download an application in our mobile phone that can both run and compile a C programming language.
Its not really my choice of program that's why i don't have any knowledge about this.
Thankyouuu!
0
Upvotes
15
u/thats_a_nice_toast Aug 28 '26
Can't you use a laptop instead? Requiring it on your phone is absurd
2
u/[deleted] Aug 28 '26
If you want a standalone application I recommend CXXdroid (don't let the name fool you; it covers C too) and is a full mobile IDE. If you want something that's actually replicates a full Linux environment including the ability to compile and run C then termux is your answer.
This is just If you on Android. I can't help with iPhone.
11
u/Roronoa-Ryuma-Zoro Aug 28 '26
Anything works. But if I have to say one then termux.
1
u/Kale Aug 28 '26
I second Termux. I think it has clang/LLVM instead of GCC, but if you're learning C, it will make zero difference to you.
Termux will also let you install an SSH server, so you can remotely log in to it from a computer, because I can't imagine how annoying it would be to type up a C program on a phone.
I used Gemini when I needed a git/clang/python tool chain over SSH, and it was pretty knowledgeable about how to get Termux set up and running with those packages. And how to log in via SSH since the Termux package uses an alternate port (not 22), and Android has a hard-coded username you have to discover before logging in.
Good luck!
1
u/Key_River7180 Aug 28 '26
Tell the professor that you'll get a laptop, and get a proper ThinkPad: programming in a phone is mayhem.
2
u/Axman6 Aug 28 '26
If you’re on iOS, you won’t find anything. Just use https://godbolt.org/
0
u/theNbomr Aug 28 '26
Just use a conventional computer of some type for doing your actual work, and then copy the work to your phone for whenever you need the prof to see it.
1
u/SmokeMuch7356 Aug 28 '26
First, which school is this so I can
beat the crap out ofhave a serious discussion with your professor? Programming on a phone is going to be painful, unless you can somehow plug in an external keyboard and monitor.Secondly, did he not give you a list of possible choices for your platform (Android or iOS)? He's making you figure it out all on your own with no guidance?
These are not good signs for your class. You're about to receive some very poor instruction.