Remove item from an std::vector

Posted by kent at 31 January 2007

Category: c++

	void rem (int i)
	{
		data.erase(data.begin()+i);
	}

Leave a Reply

Leave a Reply
  • (required)
  • (required) (will not be published)