Point

Kolorwanie:
Status:
1234567891011
class Point{
    int x, y;

  public:
    Point(){x=0; y=0;}
    Point(int new_x, int new_y){x=new_x; y=new_y;};
    int getX() const {return x;}
    int getY() const {return y;}
    void setX(const int new_x)  {x = new_x;};
    void setY(const int new_y)  {y = new_y;};
};

Copyrights 2014-2019 © Wklejaj.pl Wszelkie prawa zastrzeżone.