random_shuffle isn't working

I using random_shuffle from the #include <algorithm> library to randomize the elements of a 46 element vector. Buts its always the same. Do I need to seed something and whats the third parameter do in random shuffle?

http://cplusplus.com/reference/algorithm/random_shuffle/
You need to seed the random number generator. See lines 6, 7, and 17 of the example.
Works perfect thanks!
Topic archived. No new replies allowed.