Created
December 22, 2015 14:08
-
-
Save montreal91/d12c0487ca4d666c8579 to your computer and use it in GitHub Desktop.
point
This file contains 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
struct Point { | |
Point() { | |
x = 0; | |
y = 0; | |
} | |
Point(double new_x, double new_y) { | |
x = new_x; | |
y = new_y; | |
} | |
double x, y; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment