Lines 2-10
Link Here
|
2 |
+++ point.cc Sun Jan 9 01:51:34 2000 |
2 |
+++ point.cc Sun Jan 9 01:51:34 2000 |
3 |
@@ -1,7 +1,7 @@ |
3 |
@@ -1,7 +1,7 @@ |
4 |
#include"point.h" |
4 |
#include"point.h" |
5 |
Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; |
5 |
-Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; |
6 |
-Point::val_x() { return x; }; |
6 |
-Point::val_x() { return x; }; |
7 |
-Point::val_y() { return y; }; |
7 |
-Point::val_y() { return y; }; |
|
|
8 |
+Point::Point(int xx,int yy) { x=xx; y=yy; }; |
8 |
+int Point::val_x() { return x; }; |
9 |
+int Point::val_x() { return x; }; |
9 |
+int Point::val_y() { return y; }; |
10 |
+int Point::val_y() { return y; }; |
10 |
void Point::set_x(int xx) { x=xx; }; |
11 |
void Point::set_x(int xx) { x=xx; }; |