#ifndef Vector_SEEN__ #define Vector_SEEN__ /////// File: Vector.h /////// // n dimensional vector of type T elements #define OP operator #define CS const template class Vector { friend T inner(CS Vector& v1, CS Vector& v2); public: Vector() { } // default constructor Vector (T v0); // init elements to v0 T& OP [](int i); Vector OP +(CS Vector v) CS; void display(); /* other members */ private: T vec[n]; // internal array of type T (1) }; #endif