Indent: ======= - Indent each level four spaces Rules for braces ================ - if one branch of an if statement has braces, then both brances must have braces if (foo) { something(); something_else(); } else { blah(); } - if a branch of an if statement spans more than one line, then it must have braces, even if the branch itself is only a single statement if (foo) { a_long_function_name_with_lots (and, lots, and, lots, of parameters, etc); } - if the condition of an if statement is spans more than one line, then the branches must have braces. - similar rules apply for for and while statements do-while: ========= - do-whiles are formatted like this do { blah(); } while (foo);