// a point in 2 dimensions // typedef struct { double x, y; } Point; // functions from point.c // void print(const char msg[], Point p); double distance( Point p, Point q);