There are several published style guides - for example, Google is here , and it functions as:
ReturnType ClassName::FunctionName(Type par_name1, Type par_name2) {
DoSomething();
...
}
and for blocks:
if (condition) {
...
} else {
...
}
with similar examples for other blocks.
, , , - , ", X" ( X Google, geosoft , ( ).