18 lines
242 B
C++
18 lines
242 B
C++
#ifndef EXAMPLE01_POINT_H
|
|
#define EXAMPLE01_POINT_H
|
|
|
|
class Point {
|
|
private:
|
|
int x, y;
|
|
public:
|
|
int getX();
|
|
int getY();
|
|
void setX(int x);
|
|
void setY(int y);
|
|
void print();
|
|
};
|
|
|
|
|
|
|
|
#endif //EXAMPLE01_POINT_H
|