LibTerm is a command line interface for iPhone and iPad. Includes what you need for coding C programs!
Commands:
ls, lli, ifconfig, ping, readlink, id, chmod, clang, telnet, host, du, link, dig, egrep, bc, date, gzip, nslookup, python2, fgrep, mv, python3, md5, say, luac, ssh-keygen, xargs, diff, cd, tee, chksum, lua, touch, dc, tar, chflags, rm, sort, uniq, awk, printenv, chgrp, find, mkdir, tail, df, pwd, opt, chown, gunzip, compress, llvm-link, nc, uptime, sed, setenv, stat, uname, sum, head, wc, cat, echo, unsetenv, unlink, pbpaste, rmdir, uncompress, curl, ln, cp, whoami, rlogin, tr, env, whois, pbcopy, python, grep, nm, jsc, clear, sh, help, exit, open, package, edit
Edit text files and code with a graphical editor and syntax highlighting with the edit command.
Not enough commands? You can code your own scripts with Python 2.7, Python 3.7, Lua 5.3, install third party commands or even compile and run C code with the clang and lli commands!