March 2002
Intermediate to advanced
528 pages
21h 29m
English
shuffle
void shuffle(array array)
Rearranges the values in array into a
random order. Keys for the values are lost. Before you call
shuffle( ), be sure to seed the random-number
generator using srand( ).