Hy all;;;
Being novice to using vectors in Cpp ...I would like to know in more depth the purpose of capacity() albeit we have resize() available...i mean that if i can resize the size i initially assigned to a vector than why do i need capacity or why this function is useful and when?(studied that capacity gives on hood memory which limits the size() function usage within available capacity)