--- a/vector.cc
+++ b/vector.cc
@@ -20,11 +20,11 @@
Vector (int xx = 0, int yy = 0);
~Vector ();
- int X () { return x; }
- int Y () { return y; }
+ int X () { return x; };
+ int Y () { return y; };
- Vector operator+ (Vector&);
- Vector operator- (Vector&);
+ Vector operator+ (Vector &);
+ Vector operator- (Vector &);
void vector ();
double abs ();
@@ -39,11 +39,11 @@
fprintf (stderr, "Removing Vector (%.3d, %.3d)\n", x, y);
}
- Vector Vector::operator+ (Vector& v) {
+ Vector Vector::operator+ (Vector & v) {
return Vector (x + v.X (), y + v.Y ());
}
- Vector Vector::operator- (Vector& v) {
+ Vector Vector::operator- (Vector & v) {
return Vector (x - v.X (), y - v.Y ());
}