Last active
August 3, 2019 21:41
-
-
Save heronyang/84084142a7c27719edd37062428a1901 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* point.h */ | |
class Point { | |
public: | |
Point(double x, double y); | |
double getDistance(const Point& p) const; | |
private: | |
double x; | |
double y; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment