hi members please tell me what push_back function do , and why it is use
basit_3
0
Junior Poster in Training
Recommended Answers
Jump to PostThe
push_back()
function of standard container appends to the end of the container the value passed to it. If thesize()
of the container equals thecapacity()
of the container then the container will grow to accommodate the new element.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.