Vector is part of the Standard Template Library (STL), which is defined in the namespace
std. Just change your private definition to:
range">private:
// a vector to store the elements of the set
std::vector<T> vecSet;
Oh, and another thing, Mac, the moderator has added code tags so that programme code can be better shown on the fora (see my code fragment above). To use them just type
[ code ] before your code and
[ /code ] after. Obviously I put in spaces so you can see what I've typed. Leave the spaces out.