How do you write a C program in Linux terminal?

Answer:
You can use any text editor you want, mcedit can be a good choice for beginners.

------------------------------------------------------------------

There are lots of text editors but assuming that you run in a graphical mode l would recommend

codeblocks

Codeblocks is not just an editor it is a fully functional IDE and it is good. Codeblocks is also available for Windows.

Codeblocks can adapt to many different compiles including the free Microsoft compiles.
First answer by NevemTeve. Last edit by Lnr729. Contributor trust: 7 [recommend contributor recommended]. Question popularity: 39 [recommend question].