i have a vector initialized without a size.
vector<int> Vector1;
i initialized the first 5 values via .push_back()
and i am supposed to do this next:
Externally initialize(using a single cin statement) the next four items to: 50 65 77 32760
This doesn't seem to work:
cout << "Enter these four numbers: 50 65 77 32760 :";
cin >> Vector1.push_back() >> Vector1.push_back() >> Vector1.push_back();
what am I doing wrong/how do i fix this?