how to declare a vector in c++ stl code example Example: how to initialize vector vector<int> vect{ 10, 20, 30 };