randomizing elements in an array

how would I go about randomizing both objects and integers in an array of any size?
random_shuffle(array.begin(),array.end());

See http://www.cplusplus.com/reference/algorithm/random_shuffle/
Topic archived. No new replies allowed.