void fillInArray(vector<int> someVector);
Your function takes a vector by value. This means the function gets a copy of the vector you pass to it. It can operate on that copy, but those changes aren't visible outside.
You should be passing a reference if you want that function to be able to modify the caller's vector:
void fillInArray(vector<int>& someVector);
(Same change needs to be made in the function definition.)