Size
Let's find out how we can check the size and capacity of C++ containers.
We'll cover the following...
For a container cont, use cont.empty() to see if the container is empty. cont.size() returns the current number of elements, and ...
Ask