6 ways to initialize a vector

closed account (EwCjE3v7)
I have an exercise from my book that says list 6 examples of each of the 6ways to create and initialize a vector, what are the values.

I only got 5

1
2
3
4
5
        vector<int> i;
	vector<int> i2(10);
	vector<int> i3(10, 5);
	vector<int> i4 = {1,2,3};
	vector<int> i5 = i4;
Topic archived. No new replies allowed.