random_shuffle example int main() { string a[ ] = { "one", "two", "three" }; const int N = 3; random_shuffle(a, a + N); copy(a, a + N, ostream_iterator(cout, "\n")); }