HELP! 2D random and sorted array

HELP PLS!
 I need to create a 2d array([10][10] ,arrange 1-100), randomize it's elements and then sort the array. Then using a bool type variable, check if the array has duplicate elements and if does, change that elements until they are all different and when all they are different, print the sorted array
And info of how many times return until they are all different. I need both array in output.
Hello BJK,

This may be of some help.
http://www.cplusplus.com/forum/beginner/226604/

A sort function would not be hard to write.

Andy
Topic archived. No new replies allowed.