#ifndef Vector_h #define Vector_h #include class Vector { private: double x; double y; public: Vector(double x = 0.0, double y = 0.0); Vector operator+(const Vector& other) const; friend std::ostream& operator<<(std::ostream& output, const Vector& vector); }; std::ostream& operator<<(std::ostream& output, const Vector& vector); #endif