Alright, I've got another problem. In the following code, I want to set m to equal c/2 (to finish off the midpoint formula). Why is this code incorrect?

Code:
CMidpoint CMidpoint::operator / ( CMidpoint otherparam )
{
    CMidpoint othertemp;
    
    othertemp.x = otherparam.x / 2;
    othertemp.y = otherparam.y / 2;
    
    return ( othertemp );
}
Code:
m = 2 / c;