G
Guest
Can anybody tell me how I can put the elements of an array in a random
order? Like: 1,2,3,4,5 -> 3,2,5,1,4
order? Like: 1,2,3,4,5 -> 3,2,5,1,4
There's a std routine to shuffle vectors etcCan anybody tell me how I can put the elements of an array in a random
order? Like: 1,2,3,4,5 -> 3,2,5,1,4
Can anybody tell me how I can put the elements of an array in a random
order? Like: 1,2,3,4,5 -> 3,2,5,1,4
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.