Beautifiers make code more consistently readable. Command line tools for C are indent http://www.gnu.org/software/indent/index.htmland cb. For C++ there is bcpp http://invisible-island.net/bcpp/bcpp.html.