#include "Vector4.h" #include using std::cout; using std::endl; Vector::Vector(int size) { cout << "Vector::Vector(" << size << ") called" << endl; size_ = size; data_ = new double[size]; // dynamically allocated memory! for(int i=0; i