Please See:
http://old.knowledgeinbox.com/documents/c_sourcecodeindentor.html