|
rand and array
Hello programmers,
Can you teach me how to
select one element from an array via random order
then finally all the elements of that array are used(selected) once.
For example,there is an array
{ 2,4,6,8 }
I may need the following selection.
2,6,8,4 or
4,8,6,2 and so on.
How to do this in C?
I also use TCL.
If you can program this in TCL
I will be grateful to this
|