#include <algorithm>
void shuffle(int* a, int size)
{
std::random_shuffle(a, a + size);
}
Regards,
Paul McKenzie
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Paul McKenzie Search: Search took 3.18 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |