User forums > General (but related to Code::Blocks)

mixing a list in C

(1/1)

elico1:
Hi all
in case I have a list of numbers like 1 2 3 4 5 6 7 and I need to mix this list in random to turn it to a new list
like 4 7 2 3 5 1 6 4 for example , ho is it done in C code ?
Thanks
Elico

stahta01:
READ AND FOLLOW THE RULES!
http://forums.codeblocks.org/index.php/topic,9996.0.html

Navigation

[0] Message Index

Go to full version