Hi There's a simple way to do this and it doesn't scale with array size `
vector<Element> array = {1,2,3,4,5}; // example array
vector<Element>::iterator it;
it = array.begin();
cout << ((it+wantednumberindex))->number << "\n"; // prints wanted number
`