Example #1
0
void PrintPoint(Point P){
	printf("(%d,%d)\n",P.GetAbsis(),P.GetOrdinat());
}
Example #2
0
Point Point::Add(Point P){
 return (Point ((x +P.GetAbsis()),(y+P.GetOrdinat())));
}
Example #3
0
void Point::AddToMe(Point P){
 x = x + P.GetAbsis();
 y = y +P.GetOrdinat();
}
Example #4
0
Point Point::Add(Point P1, Point P2){
 return (Point ((P1.GetAbsis()+P2.GetAbsis()), (P1.GetOrdinat()+P2.GetOrdinat())));
}