#include "cponto.h" cponto::cponto(){ x=y=0; } cponto::cponto(int _x, int _y){ x=_x; y=_y; } int cponto::getX(){ return x; } int cponto::getY(){ return y; } void cponto::setX(int _x){ x=_x; } void cponto::setY(int _y){ y=_y; } void cponto::set(int _x, int _y){ x=_x; y=_y; }