Vecotr Manipulation

I have a vector of 57 items from an inventory for a grocery store. I ask the user to input a number (int a) of items they wish to buy (5-10) and I need to randomly select Int a amount of items from the list. How would I go about doing this?
Topic archived. No new replies allowed.