Randomly permute an array!

Hi there,

I have to randomly permute an arry of data, more precisely, variable length coding (vlc) table using a key or password. Please explain with an example in C.

Thank you.

[196 byte] By [Buddy132] at [2007-12-24]
# 2

Or just doing an internet search for this will return hundreds of links to articles dealing with this topic.

SahirShah at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 3

James Curran recently described the algorithm for shuffling an array. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=738697&SiteID=1

BrianKramer at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 4
A permuted index (keyword-in-context) generator
Check the above link. I don't know this is the right one you are looking!!!
Sarath. at 2007-8-31 > top of Msdn Tech,Visual C++,Visual C++ Language...