When I copy code from another file, the formatting is messed up, like this:
fun() { for(...) { for(...) { if(...) { } } } }
How can I autof
Their is a tool called indent. You can download it with apt-get install indent, then run indent my_program.c.
indent
apt-get install indent
indent my_program.c