#include #include #include using namespace std; int main() { vector list(10); //defines a list of 10 int's //Since vectors don't allow the convenient {} initializing, //the following loop is required: for (int k=0; k<10; k++) { list[k] = 10*(k+1); } for (k=0; k<10; k++) { cout << list[k] << endl; } return 0; }