--- a/pmc/include/vector.h +++ b/pmc/include/vector.h @@ -14,6 +14,7 @@ enum Mode { DEG, RAD, GRAD }; Vector (int xx = 0, int yy = 0); + Vector (const Vector &); virtual ~ Vector (); int X (); @@ -29,6 +30,7 @@ private: Mode mode; + int x; int y; };