Method return value in separate line, no space after method name before ``('', no space after ``,'' in method arguments, space after ``)'' and before ``{'', ``{'' in one line with method name and arguments:
CoreClass::methodX(int input,char *str) {
...
<code>
...
}