Menu

Formatting

Sébastien Gallou

Note that Yadoms has moved, click here for new wiki

Parenthesis must be aligned.
Tabulations are made by 3 space characters.

:::cpp
void myFunction()
{
   if (condition)
   {
      doAction();
   }
}

Related

Wiki: Coding rules

MongoDB Logo MongoDB