   STL Vector
  Im having some serious problems with VC 6 and STL vector.I have a class X that creates a vector *pvct; as a memberim getting huge memory leaks when i try to delete it in the destuctorX::~X{  if(pvct!= NULL) {    pvct->clear();    delete pvct;    pvct = NULL;  }} 
  Did you put pointers in your vector? If so, you need to delete them yourself. vector and all other STL containers are just that, containers. ;  I''ve fixed the problem, i removed all the  std::vector<obj> *p;with std::vector<obj> p;I originally wanted to dynamically create data, but since vector does that anyway, i don''t know what I was thinking.Thanks anyway,Keith 