What happens when you add an element to a vector that is already at capacity? Does std::vector have a "capacity"?
In C++ and OOP in general, what do you call a design where a Person class inherits from Head, Arm, Body, Leg classes instead of the other way around? Why would anyone do this?
Navlag 0 Newbie Poster
sepp2k 378 Practically a Master Poster
Moschops 683 Practically a Master Poster Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
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.