C/C++ Programming Style Guidelines
Programming Language. If you use Emacs you can make this your default editing
mode by adding the following to your
lines to help separate different ideas, use indentation to show logical relationships, and
use spaces to separate functionality. Each block of code should do exactly one thing.
the function interface signature (name and argument list), and the function body open
bracket each on a separate line. For functions that are more than a few lines long, put
the function name after the closing bracket in a comment.