Archived

This topic is now archived and is closed to further replies.

Squirell

Vector Problems

Recommended Posts

Squirell    196
Im trying to use erase() for vectors my code is something like this: vector <NODE> ObjectList; NODE temp; ObjectList.push_back(temp); ObjectList.push_back(temp); ObjectList.push_back(temp); ObjectList.erase(1); //This the compiler says doesnt work What am i doing wrong? [Edit: Forums swallowed your template instantiation.] [edited by - Oluseyi on May 24, 2004 8:43:27 PM]

Share this post


Link to post
Share on other sites