#ifndef vector_h #define vector_h typedef int TPELEM; class Vector { private: TPELEM *elems; int size; public: Vector(int s) { size=s; elems = new TPELEM[size]; } TPELEM& operator[]( int i ); }; #endif