damage needs to RETURN a value...
im taking it returns int
The return type you defined in the header file should be the return type you use in the inplementation. And also note the name of the function has to reflect what you called it inCode:int Damage::returnDamage ( int a, int b ) {
int theDamage = 0;
// do stuff
return theDamage;
}
the header file too. The left side of the scope :: is the class name, the right side is the
function name