Add elements to your vector using Vector::push_back() in C++

Vectors in C++ are one of the most used containers after arrays mainly because of the fact that the basis of operation of both the vectors and array are same to some extent.


This is a companion discussion topic for the original entry at http://iq.opengenus.org/vector-push-back-cpp/