c++ initialize vector with size and value code example
Example 1: how to initialize vector
vector<int> vect{ 10, 20, 30 };
Example 2: c++ vector initialize size
vector<Entry> array(1000);//size of 1000
vector<int> vect{ 10, 20, 30 };
vector<Entry> array(1000);//size of 1000