vector c++ initialize with no size code example
Example 1: how to initialize vector
vector<int> vect{ 10, 20, 30 };
Example 2: how to initialize a vector in c++
std::vector<type> name;
vector<int> vect{ 10, 20, 30 };
std::vector<type> name;