   erasing a random element from vector
  Hey, how do i delete an item from a vector...array_item.erase( &array_item ) used to work in VC6.. its not working in VC8 anymore.. what is the work around ?
  array_item.erase(&array_item); will only work for SC++L implementations that use raw pointers for their vector iterators.  The more portable implementation is array_item.erase(array_item.begin() + i);.Σnigma