Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "Movie.h"
- #include <vector>
- typedef Movie TElement;
- class DynamicVector
- {
- private:
- vector<TElement> elems;
- public:
- // default constructor for a DyanmicVector
- DynamicVector() { }
- // copy constructor for a DynamicVector
- DynamicVector(const DynamicVector& v);
- // destructor
- // adds an element to the current DynamicVector
- void add(const TElement& e);
- vector<TElement> getTElements() const { return elems; }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement