Skip to content
TurkeyMan edited this page Nov 10, 2014 · 8 revisions

Consider installing the EditorConfig plugin for your favourite editor: http://editorconfig.org
It will configure some editor formatting settings automatically for files relative to specific projects.

Indentation: tabs, width=4
Srtucts/classes/enums: PascalCase
Functions/methods: camelCase
Variables: camelCase
Pointers: pMyPointer

Functions like this:

void func()
{
    body...
}

Statements like this:

if(!thing)
{
    body...
}

Please trim whitespace from ends of lines.
Files should end with a newline. Analytics

Clone this wiki locally