My preferred way of C code formatting

Ángel Ortega

They mean: Kerninghan & Ritchie indentation, 4 spaces, no cuddled else, no tabs.

indent -kr -i4 -nce -nut *.c

I previously used:

indent -kr -i8 -nce *.c

Comments [Add new one]

None yet.