2070 / C++ / Класи / Метод поза класом
class Point { public: int x; int y; void Show(Point, Point); // прототип };
void Point::Show() { cout << "x=" << x << " y=" << y << endl; }