I am new to c++ and I trying to write a code using vectors to display numbers ,in between 10 and 101, received from the user. The problem i'm having is creating my main function.
In your main() you don't pass a parameter to Vector::fillVector(), even tho the prototype says it needs one of type "vector<int&>". It appears you meant to put "vector<int>&" instead. The former means pass by value a vector whose contained-type is "int&" (which is also a compiler error as containers cannot have reference types as they contained type). The latter means accept a vector by reference, whose contained-type is "int". Don't forget to correct both your prototype and function definition!
Also your "Vector" doesn't appear to really be gaining you anything in this program, as you just populate/display a different object. I'd recommend scrapping it entirely, making your fillVector() and printVector() functions be global and still have that parameter.