#include using namespace std; class point { public: int x, y; point() { } point(int _x, int _y) { x = _x; y = _y; } }; int main() { point p; p.x = 10; p.y = 20; cout << p.x << " " << p.y << endl; return 0; }