VectorVector::operator+(constVector&b)const { returnVector(x+b.x,y+b.y); } VectorVector::operator-(constVector&b)const { returnVector(x-b.x,y-b.y); } VectorVector::operator-()const { returnVector(-x,-y); } VectorVector::operator*(doublen)const { returnVector(x*n,y*n); } ...
VectorVector::operator+(constVector&b)const { returnVector(x+b.x,y+b.y); } VectorVector::operator-(constVector&b)const { returnVector(x-b.x,y-b.y); } VectorVector::operator-()const { returnVector(-x,-y); } VectorVector::operator*(doublen)const { returnVector(x*n,y*n); } ...