Remove item from an std::vector

Posted by kent at 31 January 2007

Category: c++

	void rem (int i)
	{
		data.erase(data.begin()+i);
	}
VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)
Share

No related posts.

Leave a Reply

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