Please Help!

I guess I am just not understanding this stuff like I should?
Ok, I roll five dice and the rolls are stored in an array.
How do I go about keeping like 3 of them and rerolling just two dice?
I have been stuck on this for days now.
Any help is appreciated!
I am storing my keepers in a vector.
Topic archived. No new replies allowed.