Skip to content
Filip Wasil edited this page Feb 23, 2017 · 4 revisions

-- Namespaces --

  • Use only one word namespaces

-- Naming --

  • class field: mExampleField
  • source file: SomethingCool.cpp
  • header file: SomethingCool.h

-- Indents --

-- Indents --

if (condition) {

}

switch (var) {
    case 1:
        break;
    default:
        break;
}

void foo () {
    // code
}

Clone this wiki locally