cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
C and c++ remove a value from a vector
C and c++ remove a value from a vector
Aug 30, 2011 at 8:32am UTC
Donanza
(129)
Hi guys!
I was trying to find how to delete a single value from a vector in c and C++ but i couldn't find a way.
Is there a command how to delete it?
Aug 30, 2011 at 8:38am UTC
quirkyusername
(792)
There are no vectors in C, C++'s std::vector has an erase method
http://www.cplusplus.com/reference/stl/vector/erase/
Topic archived. No new replies allowed.