Coding Conventions

From WinBolo

Revision as of 21:54, 11 February 2009 by Sticks (Talk | contribs)
Jump to: navigation, search

Contents

Comments

Method Header Comments

This should go above every method, both it's implementation (in .c files) and definition (in .h files).

/*********************************************************
*NAME:          <functionName>
*AUTHOR:        <functionAuthor>
*CREATION DATE: <DD/MM/YY>
*LAST MODIFIED: <DD/MM/YY>
*PURPOSE:
*  Short description of function goes here
*
*ARGUMENTS:
*  firstParameter  - Short explanation of what this parameter is
*  secondParameter - Short explanation of what this parameter is
*********************************************************/

File Header Comments

Single Line Comments

Multiline Comments

Variable Cases

Indentions

Conditionals

Methods

Personal tools