Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ pop string from vector

auto itr = std::find(v.begin(), v.end(), rnames);
if (itr != v.end()) v.erase(itr);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pop #string #vector
ADD COMMENT
Topic
Name
3+8 =