BARR C CODING STANDARD
these are the key ideas of the coding standard
Indent code only with spaces
No multiple variable declarations on a single line
No line of code shall contain more than one statement
Limit source code lines to 80 characters or less
Braces must always surround code blocks even if that block is a single line of code. The opening and closing brace must be at the same indentation level
Blank lines must surround natural code blocks
Each file shall end with a comment signifying the end of the file followed by a blank line:
Last updated