#ifndef CURVE_CPP #define CURVE_CPP #include "Point.cpp" #include using namespace std; class Curve : public std::vector { public: Curve::Curve(){} void Curve::add(Point p){ push_back(p); } Point Curve::pop(){ pop_back(); } Point Curve::get(int i){ return at(i); } }; #endif CURVE_CPP