1234567891011121314151617
class VectorDouble { public: VectorDouble(){max_count=50;array=new double[max_count];}; VectorDouble(int a){max_count=a;array=new double[max_count];}; VectorDouble(VectorDouble &VD){}; ~VectorDouble(){delete[] array;}; friend bool operator== (const VectorDouble &v1,const VectorDouble &v2); int capacity(){return max_count;}; int size(){return count;}; int value_at(int i); void change_value_at(int d,int i); VectorDouble &operator= (VectorDouble &v1); private: double *array; int max_count, count; };
1234
VectorDouble &operator= (VectorDouble &v1) { }