请以doe的格式描述vector的使用示例，开头不需要有说明，开头不需要有空格和其他无关符号（一个标准句）==
user
Use the `vector` container to store a dynamic array of elements, such as integers, with `vector<int> vec;` and add elements using `vec.push_back(10);`.
assistant