// 2D point example // #include #include "Point.h" using namespace std; int main() { Point p(1,2); p.print("p"); Point q(3,4); q.print("q"); cout << "distance = " << Point::distance(p,q) << endl; }