cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Push & Pop
Push & Pop
Nov 24, 2008 at 3:00pm UTC
amyotm
(13)
I'm writing a project for class, and I was wondering if there was a push & pop function already built into the code that I could manipulate. Something like
push thing.item
or
thing.item.push
Could someone help?
Last edited on
Nov 24, 2008 at 4:42pm UTC
Nov 24, 2008 at 4:58pm UTC
Bazzy
(6281)
Most standard containers have these:
http://www.cplusplus.com/reference/stl/vector/pop_back.html
http://www.cplusplus.com/reference/stl/vector/push_back.html
But you have to be more specific...
Topic archived. No new replies allowed.