#include <algorithm> #include <iostream> #include <vector> using namespace std; int main(int argc, char** argv) { int elems[] = {5, 6, 9, 8, 8, 3}; vector<int> myVector(elems, elems + 6); return (0); }