Murdoch University ICT 283 #ifndef WINDLOG_VECTOR_H #define WINDLOG_VECTOR_H #include using namespace std; template class Vector { public: Vector(); T& at(int i); void push_back(const T& elem); int getPosition(); int getCapacity(); bool isFull(); bool isEmpty(); void resize(int newSize); void create(int size); void clear(); private: T* list; T* start; T* end; int positi ...[Show More]
Category: | |
Number of pages: | 2 |
Language: | English |
Last updated: | 11 months ago |
Downloads: | 1 |
Views: | 5 |