i can't really complete it without checkboxes... sometimes i put everything on one line, otherwise brackets get their own line...
Code:
int className::retVal(){ return returnedval; }
int className::calcVal()
{
     val+=2;
     return val;
}
also, I don't know what some of them mean...